Closed Bug 2088146 Opened 29 days ago Closed 29 days ago

Re-enable the media control focus tests in `test_media.html`

Categories

(Core :: Disability Access APIs, task)

task

Tracking

()

RESOLVED DUPLICATE of bug 1734509

People

(Reporter: mconley, Assigned: mconley, NeedInfo)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

accessible/tests/mochitest/actions/test_media.html contains todo(false, "Focus test are disabled until bug 494175 is fixed.").

Bug 494175 (make audio and video controls keyboard navigable) was fixed in 2024. Restore the focus tests and remove the todo.

Bug 494175 made the media controls keyboard navigable, so the play and mute buttons now take focus when they're activated. This patch restores the EVENT_FOCUS/STATE_FOCUSED checks for both buttons and removes the todo().

The commented-out scrubber case is removed rather than restored. It was written for the old XUL scale. The scrubber is now an <input type=range>, which has no "activate" action, and the sibling path to it no longer points at the scrubber.

Assignee: nobody → mconley
Status: NEW → ASSIGNED
Attachment #9672627 - Attachment description: Bug 2088146 - Re-enable media control focus tests in accessible/tests/mochitest/actions/test_media.html → Bug 2088146 - Update and ee-enable media control focus tests in accessible/tests/mochitest/actions/test_media.html
Attachment #9672627 - Attachment description: Bug 2088146 - Update and ee-enable media control focus tests in accessible/tests/mochitest/actions/test_media.html → Bug 2088146 - Update and re-enable media control focus tests in accessible/tests/mochitest/actions/test_media.html
Pushed by mconley@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/3d20e13447e9 https://hg.mozilla.org/integration/autoland/rev/1c8fcbc9eed0 Update and re-enable media control focus tests in accessible/tests/mochitest/actions/test_media.html r=accessibility-platform-reviewers,morgan
Pushed by nfay@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/81bddd92b987 https://hg.mozilla.org/integration/autoland/rev/f5d45e97c598 Revert "Bug 2088146 - Update and re-enable media control focus tests in accessible/tests/mochitest/actions/test_media.html r=accessibility-platform-reviewers,morgan" for causing failure @ test_media.html

Backed out for causing failure @ test_media.html

Backout link

Push with failures

Failure log

Flags: needinfo?(mconley)
Blocks: 492516

Marking bug 1734509 as a dup of this one, since this one has a patch.

Status: ASSIGNED → RESOLVED
Closed: 29 days ago
Duplicate of bug: 1734509
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: