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

The title attribute example should be updated to not use abbr elements #1822

Closed
ericwbailey opened this issue May 21, 2021 · 4 comments · Fixed by #1824 or #2151
Closed

The title attribute example should be updated to not use abbr elements #1822

ericwbailey opened this issue May 21, 2021 · 4 comments · Fixed by #1824 or #2151
Assignees

Comments

@ericwbailey
Copy link
Member

The title attribute used on an abbr element has numerous accessibility issues. Can we update it to demonstrate a more appropriate usage?

I was thinking along the lines of:

<iframe title="Wikipedia page for Tangerines" src="https://en.m.wikipedia.org/wiki/Tangerine"></iframe>
@welcome
Copy link

welcome bot commented May 21, 2021

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.

@escattone
Copy link
Contributor

Thanks @ericwbailey -- cc @schalkneethling.

@schalkneethling
Copy link
Contributor

Thanks, @ericwbailey - I wonder if we should add a link to the post you referenced here:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr#accessibility_concerns

I can take care of updating the example to demonstrate it on an iframe instead as you demonstrated.

@ericwbailey
Copy link
Member Author

I wonder if we should add a link to the post you referenced here:
developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr#accessibility_concerns

@schalkneethling Sounds like a great idea. Will do!

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

Successfully merging a pull request may close this issue.

3 participants