Closed Bug 1732280 Opened 3 years ago Closed 2 years ago

Implement/fix mappings for sub, sup elements and subscript, superscript roles

Categories

(Firefox :: Disability Access, defect)

defect

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: jdiggs, Assigned: nlapre)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Steps to reproduce:

  1. Load data:text/html,<sub>foo</sub> <sup>bar</sup>
  2. Use a platform accessibility inspector (e.g. Accerciser) to examine the roles

Expected results:

  • Each element would be in the accessibility tree with ROLE_SUBSCRIPT and ROLE_SUPERSCRIPT respectively

Actual results:

  • The elements are not in the accessibility tree; the text is exposed in the parent

Changing the test case to use the ARIA 1.2 subscript and superscript roles on a div causes the elements to appear in the tree, but exposed as ROLE_SECTION.

BTW, on the mac the expected subroles are AXSubscriptStyleGroup and AXSuperscriptStyleGroup.

No longer depends on: 1732108
Assignee: nobody → nlapre

This commit adds mappings for HTML sub and sup elements, as well as ARIA
role mappings for subscript, superscript roles, with the goal of properly
exposing this information to the accessibility tree. Further, this commit
updates tests to verify that the role information is working properly.

Pushed by nlapre@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a6cbe6d5f56f Implement mappings for sub, sup elements and subscript, superscript roles, r=Jamie
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: