Closed Bug 1829269 Opened 1 year ago Closed 11 months ago

ARIA 1.3: Support role="image"

Categories

(Core :: Disability Access APIs, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: Jamie, Assigned: ayeddi)

References

(Blocks 2 open bugs)

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

Added in ARIA 1.3: https://github.com/w3c/aria/pull/1370

image is now the primary ARIA role, with img being a synonym. This is causing us to fail [image role == computedrole image] and [synonym img role == computedrole image] in testing/web-platform/tests/wai-aria/role/synonym-roles.html.

  1. In ARIAMap, copy the mapping for img, but using nsGkAtoms::image.
  2. In RoleMap, map GRAPHIC to nsGkAtoms::image instead of img.
  3. Update the metadata in testing/web-platform/meta/wai-aria/role/synonym-roles.html.ini.
Depends on: 1822112
Summary: Support role="image" → ARIA 1.3: Support role="image"
Blocks: a11y-wpt

Adding ARIAMap for nsGkAtoms::image and mapping to it GRAPHIC to nsGkAtoms::image instead of img in RoleMap. This allows both tests listed in the expectations metadata file in testing/web-platform/meta/wai-aria/role/synonym-roles.html.ini to be passing, thus removing this file.

Assignee: nobody → ayeddi
Attachment #9337069 - Attachment description: WIP: Bug 1829269 - Add support for ARIA 1.3 role="image". r=Jamie → Bug 1829269 - Add support for ARIA 1.3 role="image". r=Jamie
Status: NEW → ASSIGNED
Pushed by ayeddi@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/981a74ffa203
Add support for ARIA 1.3 role="image". r=Jamie
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch

Documentation updates for these changes can be tracked in the following GitHub issue: https://github.com/mdn/content/issues/27750

See Also: → 1858514
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: