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

Accessibility: Links do not have a discernible name for buttons #11

Closed
AdamPS opened this issue May 19, 2023 · 1 comment
Closed

Accessibility: Links do not have a discernible name for buttons #11

AdamPS opened this issue May 19, 2023 · 1 comment

Comments

@AdamPS
Copy link
Owner

AdamPS commented May 19, 2023

For more background see Drupal issue #3263821.

When using Lighthouse in the Chrome Developer Tools to test a page that shows a few buttons (Email, Twitter, and Facebook), the Accessibility test returns this warning for the buttons:

"Links do not have a discernible name."

I believe this is because on mobile, when the buttons are small, no text is shown, so the link "has no name."

@AdamPS
Copy link
Owner Author

AdamPS commented May 19, 2023

Currently when the buttons are small, the button text is entirely missing (display: none). If instead we make the button text visually hidden, then the problem will be solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant