-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Add Accessibility considerations concept #5077
Conversation
- definition - for anchor element - for input element types - for button element
Draft URLs are preferred, looks okay to me overall. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks so great! Only some minor wording nits, but I'm happy for the work to continue, using this as a template for all the other elements.
- remove "on HTML elements" from definition (not needed) - lowercase "accessibility" in definition - for anchor, use "If the element has an href attribute:" for consistency with Categories prose - format lines for 100 char maximum
…side, audio, b, base, bdi, bdo
…aption, cite, code, col, colgroup
…s, dfn, dialog, div, dl, dt
…, figure, footer, form, h1-h6, head
…bdi, bdo, br, cite, code, data, dfn (see w3c/html-aria#202)
…ain, map, mark, menu
…ect, ol, optgroup, option, output, p
…q, rp, rt, ruby, s, samp
… slot, source, span
…mary, table, tbody, td, template
…e, title, tr, track, u, ul
@domenic @annevk
These links will be good when the following PRs are merged; but merging is currently waiting on an unrelated respec problem:
So I'm marking this as ready for review now because I don't want to hold up this PR. As soon as the 3 links go in, I'll create a new PR to add the above 3 lines back in. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks amazing; thank you so much @carmacleod. I'll hold off merging so you can add those three lines back in? But after you do I'm happy to merge.
…ks exist." This reverts commit 7a469fd
The 3 lines are back in, and all links are valid. Ok to merge! Thanks for all the help! |
@domenic @annevk
Please note that I have created this as a Draft PR.
Questions & notes:
data-x-href
but nothing is being defined here, so that's not a good fit./acknowledgements.html ( diff )
/canvas.html ( diff )
/dom.html ( diff )
/edits.html ( diff )
/embedded-content.html ( diff )
/form-elements.html ( diff )
/forms.html ( diff )
/grouping-content.html ( diff )
/iframe-embed-object.html ( diff )
/image-maps.html ( diff )
/input.html ( diff )
/interactive-elements.html ( diff )
/media.html ( diff )
/scripting.html ( diff )
/sections.html ( diff )
/semantics.html ( diff )
/tables.html ( diff )
/text-level-semantics.html ( diff )