-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Title attribute absent for accessibility #37
Comments
This should also be included in the |
I would consider these enhancements to be urgent. Considerations for the needs of those whom are impaired. |
Out of curiosity, where would you imagine the title attribute be added? Adding the title or aria-label attribute to a link when plain text is provided is irrelevant and not recommended. For example: Not this: |
The whole reason for adding title or ARIA-label are for screen readers; for the visually impaired. |
I'm a certified accessibility professional, and I understand where you are coming from, but I'm trying to communicate that adding titles and/or aria-labels with the same value as text already provided in the HTML provides no extra value to a screen reader or other assistive tech. All you need to communicate a link is text in the anchor. If you'd like to add additional attributes or roles you can always render the navigation manually. |
Not all Links contain the text. Examples are Links that may say, "Here" or "More". |
I propose the
eleventyNavigation
use the title attribute to also create the HTMLtitle
attribute. It's not perfect. Som screen readers will override witharia-label
if present. https://developers.google.com/web/fundamentals/accessibility/semantics-aria/aria-labels-and-relationships. IF the title attribute is present in a link, the screen reader will use it.The text was updated successfully, but these errors were encountered: