Closed Bug 1796178 Opened 2 years ago Closed 11 months ago

Request to revise mapping for <s> element

Categories

(Core :: Disability Access APIs, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: scottaohara, Assigned: ayeddi)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Per HTML AAM PR 442 - https://github.com/w3c/html-aam/pull/442

It was decided by the ARIA working group that it made sense to revise the mapping of HTML's <s> element to be exposed as an implicit role=deletion.

It would be expected that the following three markup examples all be exposed with this role:

<del>foo</del>
<s>foo</s>
<span role=deletion>foo</span>

HTML AAM defers to Core AAM for how the deletion role is to be mapped - https://w3c.github.io/core-aam/#role-map-deletion

Blocks: htmla11y
Type: defect → enhancement
Component: Disability Access → Disability Access APIs
Product: Firefox → Core

Implementation guidance:
This should be done similar to https://hg.mozilla.org/mozilla-central/rev/b6c8ed7e23e3. However, you don't need to add any new roles here because CONTENT_INSERTION/DELETION already exist. You just need to add the markup mapping and the test.

Blocks: a11y-wpt

Updated HTMLMarkupMap to expose <s> element with an implicit roles::CONTENT_DELETION, updated accessible/tests/mochitest/elm/test_HTMLSpec.html Mochitest and expected results for testing/web-platform/tests/html-aam/roles.html wpt test

Assignee: nobody → ayeddi
Status: NEW → ASSIGNED
Pushed by ayeddi@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1d562ee8729b
Revise mapping for <s> element to role=deletion. r=Jamie

Backed out for causing mochitest failures on test_general.html

Backout link

Push with failures

Failure log

Flags: needinfo?(ayeddi)
Pushed by ayeddi@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/38223a5468bb
Revise mapping for <s> element to role=deletion. r=Jamie
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
Flags: needinfo?(ayeddi)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: