From 2adf814a2de7be8a45a36ece74fd65d21855fe37 Mon Sep 17 00:00:00 2001 From: James Nurthen Date: Wed, 31 Aug 2022 15:20:30 -0700 Subject: [PATCH] Resolves #978, add back ARIA element reflection IDL (#1755) Now that HTML spec defines reflection for Element and FrozenArray attributes (see https://github.com/whatwg/html/pull/7934), we can add back these attributes to ARIA IDL. This is simply a revert of #1260. --- index.html | 113 ++++++++++++++++++++++++++--------------------------- 1 file changed, 56 insertions(+), 57 deletions(-) diff --git a/index.html b/index.html index 2cae6adb1..d3140f24f 100644 --- a/index.html +++ b/index.html @@ -12756,56 +12756,55 @@

Interface Mixin ARIAMixin

 			interface mixin ARIAMixin {
 				attribute DOMString? role;
-
-				
-				attribute DOMString ariaAtomic;
-				attribute DOMString ariaAutoComplete;
-				attribute DOMString ariaBusy;
-				attribute DOMString ariaChecked;
-				attribute DOMString ariaColCount;
-				attribute DOMString ariaColIndex;
+				attribute Element? ariaActiveDescendantElement;
+				attribute DOMString? ariaAtomic;
+				attribute DOMString? ariaAutoComplete;
+				attribute DOMString? ariaBusy;
+				attribute DOMString? ariaChecked;
+				attribute DOMString? ariaColCount;
+				attribute DOMString? ariaColIndex;
 				
-				attribute DOMString ariaColSpan;
-				
-				attribute DOMString ariaCurrent;
-				
-				attribute DOMString ariaDescription;
-				
-				attribute DOMString ariaDisabled;
-				
-				attribute DOMString ariaExpanded;
-				
-				attribute DOMString ariaHasPopup;
-				attribute DOMString ariaHidden;
-				attribute DOMString ariaInvalid;
-				attribute DOMString ariaKeyShortcuts;
-				attribute DOMString ariaLabel;
-				
-				attribute DOMString ariaLevel;
-				attribute DOMString ariaLive;
-				attribute DOMString ariaModal;
-				attribute DOMString ariaMultiLine;
-				attribute DOMString ariaMultiSelectable;
-				attribute DOMString ariaOrientation;
-				
-				attribute DOMString ariaPlaceholder;
-				attribute DOMString ariaPosInSet;
-				attribute DOMString ariaPressed;
-				attribute DOMString ariaReadOnly;
-				
-				attribute DOMString ariaRequired;
-				attribute DOMString ariaRoleDescription;
-				attribute DOMString ariaRowCount;
-				attribute DOMString ariaRowIndex;
+				attribute DOMString? ariaColSpan;
+				attribute FrozenArray<Element>? ariaControlsElements;
+				attribute DOMString? ariaCurrent;
+				attribute FrozenArray<Element>? ariaDescribedByElements;
+				attribute DOMString? ariaDescription;
+				attribute FrozenArray<Element>? ariaDetailsElements;
+				attribute DOMString? ariaDisabled;
+				attribute Element? ariaErrorMessageElement;
+				attribute DOMString? ariaExpanded;
+				attribute FrozenArray<Element>? ariaFlowToElements;
+				attribute DOMString? ariaHasPopup;
+				attribute DOMString? ariaHidden;
+				attribute DOMString? ariaInvalid;
+				attribute DOMString? ariaKeyShortcuts;
+				attribute DOMString? ariaLabel;
+				attribute FrozenArray<Element>? ariaLabelledByElements;
+				attribute DOMString? ariaLevel;
+				attribute DOMString? ariaLive;
+				attribute DOMString? ariaModal;
+				attribute DOMString? ariaMultiLine;
+				attribute DOMString? ariaMultiSelectable;
+				attribute DOMString? ariaOrientation;
+				attribute FrozenArray<Element>? ariaOwnsElements;
+				attribute DOMString? ariaPlaceholder;
+				attribute DOMString? ariaPosInSet;
+				attribute DOMString? ariaPressed;
+				attribute DOMString? ariaReadOnly;
+				
+				attribute DOMString? ariaRequired;
+				attribute DOMString? ariaRoleDescription;
+				attribute DOMString? ariaRowCount;
+				attribute DOMString? ariaRowIndex;
 				
-				attribute DOMString ariaRowSpan;
-				attribute DOMString ariaSelected;
-				attribute DOMString ariaSetSize;
-				attribute DOMString ariaSort;
-				attribute DOMString ariaValueMax;
-				attribute DOMString ariaValueMin;
-				attribute DOMString ariaValueNow;
-				attribute DOMString ariaValueText;
+				attribute DOMString? ariaRowSpan;
+				attribute DOMString? ariaSelected;
+				attribute DOMString? ariaSetSize;
+				attribute DOMString? ariaSort;
+				attribute DOMString? ariaValueMax;
+				attribute DOMString? ariaValueMin;
+				attribute DOMString? ariaValueNow;
+				attribute DOMString? ariaValueText;
 			};
 		
@@ -12841,8 +12840,8 @@

ARIA Attribute Correspondence

- - + + @@ -12851,28 +12850,28 @@

ARIA Attribute Correspondence

- + - + - + - + - + - + - +
IDL AttributeReflected ARIA Content Attribute
rolerole
rolerole
ariaActiveDescendantElementaria-activedescendant
ariaAtomicaria-atomic
ariaAutoCompletearia-autocomplete
ariaBusyaria-busy
ariaColIndexaria-colindex
ariaColIndexTextaria-colindextext
ariaColSpanaria-colspan
ariaControlsElementsaria-controls
ariaCurrentaria-current
ariaDescribedByElementsaria-describedby
ariaDescriptionaria-description
ariaDetailsElementsaria-details
ariaDisabledaria-disabled
ariaErrorMessageElementaria-errormessage
ariaExpandedaria-expanded
ariaFlowToElementsaria-flowto
ariaHasPopuparia-haspopup
ariaHiddenaria-hidden
ariaInvalidaria-invalid
ariaKeyShortcutsaria-keyshortcuts
ariaLabelaria-label
ariaLabelledByElementsaria-labelledby
ariaLevelaria-level
ariaLivearia-live
ariaModalaria-modal
ariaMultiLinearia-multiline
ariaMultiSelectablearia-multiselectable
ariaOrientationaria-orientation
ariaOwnsElementsaria-owns
ariaPlaceholderaria-placeholder
ariaPosInSetaria-posinset
ariaPressedaria-pressed