Closed Bug 1358462 Opened 7 years ago Closed 7 years ago
Elements with role="region" and no accessible name should be mapped according to host language
Steps to reproduce: 1. Load data:text/html,<div role="region">foo</div> 2. Use Accerciser to examine the element Expected results: the element would have ROLE_SECTION Actual results: the element has ROLE_PANEL The Core AAM states: "Special case: if the region does not have an accessible name, do not expose the element as a landmark. Use the native host language role of the element instead." https://rawgit.com/w3c/aria/master/core-aam/core-aam.html#role-map-region
Making this a depends on bug 1378160 because my patch-in-progress to handle the no-name scenario described here assumes the thing is a landmark; not a pane. And it won't be a landmark until 1378160 is addressed.
Depends on: 1378160
Note that this patch expects/requires the patch for bug 1378160. The fix for that bug is where roles::REGION (used here) gets added to Gecko.
Assignee: nobody → jdiggs
Status: NEW → ASSIGNED
Attachment #8883431 - Flags: review?(mzehe)
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/2286518951eb Elements with role="region" and no accessible name should be mapped according to host language. r=MarcoZ
You need to log in before you can comment on or make changes to this bug.