Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use popover for PHP class name explanation #743

Open
mbrodala opened this issue Sep 16, 2024 · 1 comment
Open

Use popover for PHP class name explanation #743

mbrodala opened this issue Sep 16, 2024 · 1 comment

Comments

@mbrodala
Copy link
Member

Currently hovering a PHP class name with the php role yields a tooltip with a short explanation:

image

However, it would be better if this explanation was triggered via click/keyboard instead. For example using the (?) on the right as trigger.

Benefits:

  1. Better accessibility by enabling keyboard access
  2. Option to move the API/docs link into the popover; this allows for easier copy and paste of PHP class names without unintentionally opening a link.
  3. Less "noise" in general since the explanation is really only shown on intent, never by accident.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants