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

Outline naming for contendediable elements #205

Open
scottaohara opened this issue Jun 6, 2019 · 0 comments
Open

Outline naming for contendediable elements #205

scottaohara opened this issue Jun 6, 2019 · 0 comments
Labels
accName & Desc Related to accessible name or description

Comments

@scottaohara
Copy link
Member

From @dd8, originally posted in #160:

What should happen for elements with the contenteditable attribute? Seems that AT has supported aria-label on these for a long time:
https://www.w3.org/WAI/GL/wiki/Using_aria-label_to_provide_an_invisible_label#Example_1:_A_quiz_using_divs_set_to_contentEditable

Also looks like you need to allow aria-label on unexpected places like style elements when contenteditable=true. See the second example using <style contenteditable=true> for live CSS editing in the HTML Living Standard:
https://html.spec.whatwg.org/multipage/interaction.html#attr-contenteditable

(BTW the CSS live editing example works in FF, Chrome and Safari)


As this is a global attribute, which I've raised an issue about clarifying why, on the HTML spec, there can be some... unexpected behavior with what happens when its used on certain elements.

Beyond that, there may be some scenarios where the attribute may be used on an element that cannot have an accessible name provided.

All that said, we should look at at least providing a note about how accessible names might be generally provided to elements that have contenteditable

@scottaohara scottaohara added the accName & Desc Related to accessible name or description label Jan 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accName & Desc Related to accessible name or description
Projects
None yet
Development

No branches or pull requests

1 participant