add new aria 1.2 roles#392
Merged
Merged
Conversation
closes #200 Adds `blockquote`, `caption`, `code`, `deletion`, `emphasis`, `generic`, `insertion`, `meter`, `paragraph`, `strong`, `subscript`, `superscript`, `time`. Updates links from referencing ARIA 1.1 to ARIA 1.2 changes / corrects `dd` and `dt` to not reference an ARIA role, as `definition` and `term` were corrected in ARIA 1.2 to not be associated with these elements. TODO: more elements map to `generic`. These are non-normative updates, since these roles are defined in ARIA 1.2/CORE AAM and the HTML mappings in HTML AAM, respectively.
stevefaulkner
approved these changes
Jan 16, 2022
Member
Author
|
Waiting on merging of w3c/html-aam#364 before finishing this PR |
4 tasks
patrickhlauke
requested changes
Feb 13, 2022
patrickhlauke
approved these changes
Feb 13, 2022
Member
patrickhlauke
left a comment
There was a problem hiding this comment.
Happy for this to be merged, but worth opening a separate PR to have another look at that role=Main issue (as if it's making a point about lowercase, it buries the lede/doesn't actually explain it)
Member
Author
|
The only thing that will be out of sync with merging this PR is the |
11 tasks
estelle
pushed a commit
to mdn/content
that referenced
this pull request
Oct 14, 2023
* Set implicit role mappings to `generic` Implements changes from w3c/html-aria#425 * Set address' element implicit role to `group` Implements change from w3c/html-aria@ba30b83 * Assign ARIA 1.2 roles to elements Implements changes from w3c/html-aria#392 * Make `<section>` with inaccessible name's implicit role to be `generic` See w3c/html-aria#475 * Set implicit ARIA mapping for <s> element to `deletion` See w3c/html-aria#469 * Set `form` as the only implicit ARIA role for the form element See w3c/html-aria#402
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #200
Adds
blockquote,caption,code,deletion,emphasis,generic,insertion,meter,paragraph,strong,subscript,superscript,time.Updates links from referencing ARIA 1.1 to ARIA 1.2
changes / corrects
ddanddtto not reference an ARIA role, asdefinitionandtermwere corrected in ARIA 1.2 to not be associated with these elements.These are non-normative updates, since these roles are defined in ARIA 1.2/CORE AAM and the HTML mappings in HTML AAM, respectively.
TODO:
more elements map to
generic.Additionally, there needs to be some content added to the spec to indicate that(issue to update 'any role' #358).genericis a role authors SHOULD NOT be using, per the ARIA spec. This could be tacked onto the 'any role' definitionrelated to resolving HTML AAM w3c/html-aam#373
Preview | Diff