Closed Bug 1798438 Opened 2 years ago Closed 2 years ago

HTML Markup Map to support datetime-local inputs

Categories

(Core :: Disability Access APIs, defect)

All
Unspecified
defect

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: ayeddi, Assigned: ayeddi, Mentored)

References

Details

Attachments

(1 file)

The type=datetime-local should be included in the HTMLMarkupMap to create an accessible with role DATE_EDITOR, as expected.

Otherwise, this intermittently fails tests like accessible/tests/mochitest/value/test_datetime.html because there is no accessible to return, spinbuttons and text leafs are appended directly to the document instead of a text container.

Test fails with the following message:
INFO - TEST-UNEXPECTED-FAIL | accessible/tests/mochitest/value/test_datetime.html | Can't get accessible for [ 'input@id="datetime" node', address: [object HTMLInputElement] ]

Severity: -- → S3
Keywords: access

Adding datetime-local atom to the HTMLMarkupMap to map <input type=datetime-local> to DATE_EDITOR role and providing test coverage for this new accessible.

Assignee: nobody → ayeddi
Status: NEW → ASSIGNED
Pushed by ayeddi@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5fae4f191812
Add datetime-local support to list of accessibles. r=Jamie
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
Blocks: 1799018
Regressions: 1804699
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: