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 HTML-AAM to use title for description instead of name, when the name is prohibited #552

Open
aleventhal opened this issue Jul 2, 2024 · 8 comments
Assignees

Comments

@aleventhal
Copy link
Collaborator

I'm not sure I see anything to say that we can't do this in Blink, but I want to map the title attribute at least to the accessible description when the name is prohibited. Seems reasonable, right?
Perhaps we need to update this content:
https://w3c.github.io/html-aam/#accname-computation

As well as:
https://w3c.github.io/html-aam/#att-title
which says
"Either the accessible name, or the accessible description, or Not mapped (see Comments)."

I wish it explicitly said to use the title for the description, and not for the name, if the name is prohibited. This is quite a common situation.

@aleventhal
Copy link
Collaborator Author

It also doesn't seem like an authoring error to use the title attribute on an element with a prohibited name. Seems like a reasonable thing to do.

@cookiecrook @accdc @jcsteh @scottaohara

@aleventhal
Copy link
Collaborator Author

Following this would make external/wpt/accname/name/comp_tooltip.html wrong.
See also web-platform-tests/interop-accessibility#131, where this test can also break because it's on the kbd element, which has not requirement to be exposed in HTML-AAM.

chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this issue Jul 8, 2024
Bug: 350528330,w3c/html-aam#552
Change-Id: I2a23c23d3c06b747056de88481e7ec472d545535
aarongable pushed a commit to chromium/chromium that referenced this issue Jul 9, 2024
Bug: 350528330,w3c/html-aam#552
Change-Id: I2a23c23d3c06b747056de88481e7ec472d545535
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5670975
Auto-Submit: Aaron Leventhal <[email protected]>
Reviewed-by: Chris Harrelson <[email protected]>
Commit-Queue: Aaron Leventhal <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1324810}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this issue Jul 9, 2024
Bug: 350528330,w3c/html-aam#552
Change-Id: I2a23c23d3c06b747056de88481e7ec472d545535
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5670975
Auto-Submit: Aaron Leventhal <[email protected]>
Reviewed-by: Chris Harrelson <[email protected]>
Commit-Queue: Aaron Leventhal <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1324810}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this issue Jul 9, 2024
Bug: 350528330,w3c/html-aam#552
Change-Id: I2a23c23d3c06b747056de88481e7ec472d545535
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5670975
Auto-Submit: Aaron Leventhal <[email protected]>
Reviewed-by: Chris Harrelson <[email protected]>
Commit-Queue: Aaron Leventhal <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1324810}
@scottaohara
Copy link
Member

previous issue - #506

@spectranaut
Copy link
Contributor

spectranaut commented Jul 11, 2024

Discussed briefly in triage: https://www.w3.org/2024/07/18-aria-minutes.html#t06

moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this issue Jul 11, 2024
…the role prohibits a name, a=testonly

Automatic update from web-platform-tests
[A11y] Expose title as a description if the role prohibits a name

Bug: 350528330,w3c/html-aam#552
Change-Id: I2a23c23d3c06b747056de88481e7ec472d545535
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5670975
Auto-Submit: Aaron Leventhal <[email protected]>
Reviewed-by: Chris Harrelson <[email protected]>
Commit-Queue: Aaron Leventhal <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1324810}

--

wpt-commits: 5f54392ca73bf60a7ab30314f76f86dde0b6777b
wpt-pr: 47044
i3roly pushed a commit to i3roly/firefox-dynasty that referenced this issue Jul 13, 2024
…the role prohibits a name, a=testonly

Automatic update from web-platform-tests
[A11y] Expose title as a description if the role prohibits a name

Bug: 350528330,w3c/html-aam#552
Change-Id: I2a23c23d3c06b747056de88481e7ec472d545535
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5670975
Auto-Submit: Aaron Leventhal <[email protected]>
Reviewed-by: Chris Harrelson <[email protected]>
Commit-Queue: Aaron Leventhal <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1324810}

--

wpt-commits: 5f54392ca73bf60a7ab30314f76f86dde0b6777b
wpt-pr: 47044
@aleventhal
Copy link
Collaborator Author

@scottaohara Should we close this one as duplicate and put the other one on the agenda?

@scottaohara
Copy link
Member

this one is on the agenda. we can discuss and then close one or the other after we talk about it.

sadym-chromium pushed a commit to web-platform-tests/wpt that referenced this issue Jul 18, 2024
Bug: 350528330,w3c/html-aam#552
Change-Id: I2a23c23d3c06b747056de88481e7ec472d545535
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5670975
Auto-Submit: Aaron Leventhal <[email protected]>
Reviewed-by: Chris Harrelson <[email protected]>
Commit-Queue: Aaron Leventhal <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1324810}
@scottaohara scottaohara self-assigned this Jul 18, 2024
@scottaohara
Copy link
Member

assigned myself to work on this PR

@spectranaut
Copy link
Contributor

Discussed in today's meeting:https://www.w3.org/2024/07/18-aria-minutes.html#t06

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

No branches or pull requests

3 participants