Bug 1885607 - P2: Add ARIAElementReflection pref. r=webidl,smaug

Enable only on nightly for now.

Depends on D204807

Differential Revision: https://phabricator.services.mozilla.com/D204808
This commit is contained in:
Eitan Isaacson 2024-03-16 21:37:24 +00:00
parent 47668c08f8
commit c71730fcab
5 changed files with 9 additions and 1 deletions

View file

@ -11,7 +11,7 @@
*/
interface mixin ARIAMixin {
[CEReactions]
[Pref="accessibility.ARIAElementReflection.enabled", CEReactions]
attribute Element? ariaActiveDescendantElement;
[CEReactions, SetterThrows]

View file

@ -220,6 +220,11 @@
value: false
mirror: always
- name: accessibility.ARIAElementReflection.enabled
type: bool
value: @IS_NIGHTLY_BUILD@
mirror: always
# Whether form controls and images should be focusable with mouse, in content
# documents.
#

View file

@ -1,4 +1,5 @@
[aria-element-reflection-disconnected.html]
prefs: [accessibility.ARIAElementReflection.enabled:true]
[Element references should stay valid when content is disconnected (element array)]
expected: FAIL

View file

@ -1,4 +1,5 @@
[aria-element-reflection.html]
prefs: [accessibility.ARIAElementReflection.enabled:true]
[aria-errormessage]
expected: FAIL

View file

@ -1,4 +1,5 @@
[idlharness.window.html]
prefs: [accessibility.ARIAElementReflection.enabled:true]
[Element interface: attribute ariaControlsElements]
expected: FAIL