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

Update unnamed section mapping #475

Merged
merged 1 commit into from
Jun 26, 2023
Merged

Update unnamed section mapping #475

merged 1 commit into from
Jun 26, 2023

Conversation

scottaohara
Copy link
Member

@scottaohara scottaohara commented Jun 26, 2023

closes #474

changes ref of section element without name from 'no corresponding role' to role=generic.

other changes made in this PR:

  • remove duplicate instances of code elements from ARIA roles (mostly instances of role=generic).
  • clarification for section element allowed roles - role=region not recommended in general, not just if the element is named since using the role w/out naming would be useless. mention authors SHOULD NOT use role=generic on the element, per the change from no corresponding role.

Preview | Diff

closes #474

changes ref of section element without name from 'no corresponding role' to `role=generic`.

other changes made in this PR:
- remove duplicate instances of code elements from ARIA roles (mostly instances of role=generic).
- clarification for section element allowed roles - role=region not recommended in general, not just if the element is named since using the role w/out naming would be useless.  mention authors SHOULD NOT use role=generic on the element, per the change from no corresponding role.
@scottaohara scottaohara merged commit 966b175 into gh-pages Jun 26, 2023
@scottaohara scottaohara deleted the issue474 branch June 26, 2023 13:12
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
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 this pull request may close these issues.

Mapping unnamed <section> element to role=generic
1 participant