Skip to content

Commit

Permalink
[A11y] Expose title as a description if the role prohibits a name
Browse files Browse the repository at this point in the history
Bug: 350528330,w3c/html-aam#552
Change-Id: I2a23c23d3c06b747056de88481e7ec472d545535
  • Loading branch information
aleventhal authored and chromium-wpt-export-bot committed Jul 8, 2024
1 parent c6d660e commit b311189
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions accname/name/comp_tooltip.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
<!-- TODO: Move these: https://github.com/web-platform-tests/interop-accessibility/issues/78 -->
<!-- https://w3c.github.io/html-aam/#text-level-element-accessible-name-computation -->
<abbr title="Web Platform Tests" data-expectedlabel="Web Platform Tests" data-testname="abbr with tooltip label" class="ex">WPT</abbr>
<kbd title="Control + Option" data-expectedlabel="Control + Option" data-testname="kbd with tooltip label" class="ex">CTRL + OPT</kbd>
<!-- kbd test disabled: see resolution at https://github.com/web-platform-tests/interop-accessibility/issues/131 -->
<!-- <kbd title="Control + Option" data-expectedlabel="Control + Option" data-testname="kbd with tooltip label" class="ex">CTRL + OPT</kbd> -->

<!-- TODO: Move these: https://github.com/web-platform-tests/interop-accessibility/issues/78 -->
<!-- https://w3c.github.io/html-aam/#summary-element-accessible-name-computation -->
Expand All @@ -66,4 +67,4 @@
AriaUtils.verifyLabelsBySelector(".ex");
</script>
</body>
</html>
</html>

0 comments on commit b311189

Please sign in to comment.