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

Further implicit role updates needed #406

Closed
11 tasks done
scottaohara opened this issue Mar 12, 2022 · 3 comments
Closed
11 tasks done

Further implicit role updates needed #406

scottaohara opened this issue Mar 12, 2022 · 3 comments
Labels
ARIA 1.2 related Issues directly related to updates in ARIA 1.2

Comments

@scottaohara
Copy link
Member

scottaohara commented Mar 12, 2022

This is a follow-on issue to #392.

The following map to generic

  • a w/out href
  • area w/out href
  • b
  • data
  • i
  • pre
  • q
  • samp
  • small
  • span
  • u

Repurposing this issue to be scoped only to the roles which need to map to generic. All other roles will be handled in their own issue(s) as some mappings require implementation updates before they can land here, and some roles may even need to be created still.

Related to HTML AAM issue: w3c/html-aam#373

@scottaohara scottaohara added the ARIA 1.2 related Issues directly related to updates in ARIA 1.2 label Mar 12, 2022
@scottaohara scottaohara added this to the ARIA in HTML: Next milestone Mar 12, 2022
@JAWS-test
Copy link

I think most of the elements mentioned should not map to generic, because generic means in the APIs: ROLE_SYSTEM_GROUPING, IA2_ROLE_SECTION, Group, ROLE_SECTION, AXGroup - or will that be changed at https://w3c.github.io/core-aam/ in the future?

If I understand correctly, all these roles are about a group, i.e. an independent page section (as in HTML for the elements div, section, article, fieldset), but not about individual sections within a text or even within a word (as in HTML elements a, b, i, s, span, u, etc.).

For example, I would expect a generic role in the screen reader to cause a reading pause to occur. However, that would be wrong for inline elements.

Currently, JAWS outputs generic elements contiguously, but NVDA separates them with spaces, so that words containing bold or italic letters, for example, are no longer output as a word

@scottaohara
Copy link
Member Author

@JAWS-test core aam needs adjusting, I've brought up the same topic with the ARIA wg a few times now, and the consensus is to use generic and further specify the differences between when a generic would behave like a div vs a span, for example.

scottaohara added a commit that referenced this issue Jul 8, 2022
the following are meant to be treated as generic elements:
- a  no href
- area no href
- b
- bdi
- bdo
- pre
- q
- u
- small

related to #406
scottaohara added a commit that referenced this issue Jul 22, 2022
* Editorial: update implict role mappings

the following are meant to be treated as generic elements:
- a  no href
- area no href
- b
- bdi
- bdo
- pre
- q
- u
- small

related to #406

* update 3 more elements

data, samp and span all map to generic as well

* add missing <i> element as mapping to generic
@scottaohara
Copy link
Member Author

seems this issue was completed but i failed to close it. so doing that now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARIA 1.2 related Issues directly related to updates in ARIA 1.2
Projects
None yet
Development

No branches or pull requests

2 participants