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](https://searchfox.org/mozilla-central/source/accessible/tests/mochitest/value/test_datetime.html#16) because there is no accessible to return, spinbuttons and text leafs are appended directly to the document instead of a text container.
Bug 1798438 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
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](https://searchfox.org/mozilla-central/source/accessible/tests/mochitest/value/test_datetime.html#16) 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] ] `