Skip to content

hgroup mappings do not seem correct #331

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

Closed
domenic opened this issue May 11, 2021 · 1 comment · Fixed by #348
Closed

hgroup mappings do not seem correct #331

domenic opened this issue May 11, 2021 · 1 comment · Fixed by #348

Comments

@domenic
Copy link

domenic commented May 11, 2021

The spec says "No corresponding role" / "Not mapped" for all mappings.

However, in my testing browsers instead map it the same as a no-accessible-name section, i.e. ROLE_SYSTEM_GROUPING / IA2_ROLE_SECTION. (I only tested MSAA.)

@scottaohara
Copy link
Member

thanks @domenic, yup those are incorrect. The element should map the same as a div

scottaohara added a commit that referenced this issue Sep 29, 2021
scottaohara added a commit that referenced this issue Nov 7, 2021
* blockquote update

map to core aam blockquote role

* fix mapping for body/html

`html` should have mapped to `document` - this is now corrected and the table now indicates to refer to the WAI-ARIA mapping for the document role.

`body` no longer maps to `document` - which matches reality.  `body` now maps to `role=generic`.   further updates may be needed here for instances where authors incorrectly name a generic / provide the body with elements important to accessibility - e.g., `contenteditable`.

closes #330

* update section 3.4 introduction list

* remove bullet about “?” cells.  these have all been removed.
* update list item about `aria-roledescription` and mention that UAs must not expose the attribute if used on an implicit `generic` element.

* update aria 1.1 to 1.2 links

* update json data for specs

* update hgroup mapping to match reality

closes #331

* point to aria 1.2 roles

this PR updates the following elements to point to their implicit ARIA roles defined in core aam

* caption
* code
* del
* em
* ins
* meter
* paragraph
* strong
* sub
* sup
* time

* start marking generics

starts on issue #346, indicate some of the elements that will map to, or under certain conditions map to `generic`

* autonomous custom elements
* div
* form without accessible name
* form associated custom elements
* section without accessible name

* typo fixed

* Update index.html

Co-authored-by: Steve Faulkner <[email protected]>
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.

2 participants