You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>For every IDL attribute <var>idlAttribute</var> defined in <code>ARIAMixin</code> when included on an element:</p>
16781
+
16782
+
<ol>
16783
+
<li>
16784
+
<p>Let <var>contentAttributeName</var> be the local name of the ARIA content attribute determined by looking up <var>idlAttribute</var> in the ARIA Attribute Correspondence table.</p>
16785
+
</li>
16786
+
16787
+
<li>
16788
+
<p><var>idlAttribute</var> must [=reflect=] <var>contentAttributeName</var> and support {{ElementInternals}}.</p>
16789
+
</li>
16790
+
</ol>
16791
+
16792
+
<p class="note">
16793
+
In practice, this means that, e.g., the <code>role</code> IDL attribute on <code>Element</code> reflects the <code>role</code> content attribute; the <code>ariaValueMin</code> IDL attribute
16794
+
reflects the <pref>aria-valuemin</pref> content attribute; etc. Ambiguity clarifications (such as <code>ariaPosInSet</code>) are listed in
16795
+
<a href="#idl_attr_exceptions">IDL Attribute Name Notes or Exceptions</a>.
<p>The following table provides a correspondence between IDL attribute names and content attribute names, for use by <code>ARIAMixin</code>. It also lists their correspondence to value type for informative purposes.</p>
16782
16802
16783
-
<table>
16803
+
<table class="def">
16784
16804
<tr><th>IDL Attribute</th><th>Reflected ARIA Content Attribute</th><th>Value type (non-normative)</th></tr>
<p class="note">Note: Attributes <pref>aria-dropeffect</pref> and <sref>aria-grabbed</sref> were deprecated in ARIA 1.1 and do not have corresponding IDL attributes.</p>
16842
16862
16843
-
<p>For every IDL attribute <var>idlAttribute</var> defined in <code>ARIAMixin</code> when included on an element:</p>
16844
-
16845
-
<ol>
16846
-
<li>
16847
-
<p>Let <var>contentAttributeName</var> be the local name of the ARIA content attribute determined by looking up <var>idlAttribute</var> in the ARIA Attribute Correspondence table.</p>
16848
-
</li>
16849
-
16850
-
<li>
16851
-
<p><var>idlAttribute</var> must [=reflect=] <var>contentAttributeName</var> and support {{ElementInternals}}.</p>
16852
-
</li>
16853
-
</ol>
16854
-
16855
-
<p class="note">
16856
-
In practice, this means that, e.g., the <code>role</code> IDL attribute on <code>Element</code> reflects the <code>role</code> content attribute; the <code>ariaValueMin</code> IDL attribute
16857
-
reflects the <pref>aria-valuemin</pref> content attribute; etc. Ambiguity clarifications (such as <code>ariaPosInSet</code>) are listed in
16858
-
<a href="#idl_attr_exceptions">IDL Attribute Name Notes or Exceptions</a>.
<p>The following table provides a correspondence between IDL attribute names and content attribute names, for use by <code>ARIAMixin</code>.</p>
16865
-
16866
-
<table class="def">
16867
-
<tr>
16868
-
<th>IDL Attribute</th>
16869
-
<th>Reflected ARIA Content Attribute</th>
16870
-
</tr>
16871
-
<tr>
16872
-
<td>role</td>
16873
-
<td><a href="#introroles">role</a></td>
16874
-
</tr>
16875
-
<tr>
16876
-
<td><dfn>ariaActiveDescendantElement</dfn></td>
16877
-
<td><pref>aria-activedescendant</pref></td>
16878
-
</tr>
16879
-
<tr>
16880
-
<td><dfn>ariaAtomic</dfn></td>
16881
-
<td><pref>aria-atomic</pref></td>
16882
-
</tr>
16883
-
<tr>
16884
-
<td><dfn>ariaAutoComplete</dfn></td>
16885
-
<td><pref>aria-autocomplete</pref></td>
16886
-
</tr>
16887
-
<tr>
16888
-
<td><dfn>ariaBrailleLabel</dfn></td>
16889
-
<td><pref>aria-braillelabel</pref></td>
16890
-
</tr>
16891
-
<tr>
16892
-
<td><dfn>ariaBrailleRoleDescription</dfn></td>
16893
-
<td><pref>aria-brailleroledescription</pref></td>
16894
-
</tr>
16895
-
<tr>
16896
-
<td><dfn>ariaBusy</dfn></td>
16897
-
<td><sref>aria-busy</sref></td>
16898
-
</tr>
16899
-
<tr>
16900
-
<td><dfn>ariaChecked</dfn></td>
16901
-
<td><sref>aria-checked</sref></td>
16902
-
</tr>
16903
-
<tr>
16904
-
<td><dfn>ariaColCount</dfn></td>
16905
-
<td><pref>aria-colcount</pref></td>
16906
-
</tr>
16907
-
<tr>
16908
-
<td><dfn>ariaColIndex</dfn></td>
16909
-
<td><pref>aria-colindex</pref></td>
16910
-
</tr>
16911
-
<tr>
16912
-
<td><dfn>ariaColIndexText</dfn></td>
16913
-
<td><pref>aria-colindextext</pref></td>
16914
-
</tr>
16915
-
<tr>
16916
-
<td><dfn>ariaColSpan</dfn></td>
16917
-
<td><pref>aria-colspan</pref></td>
16918
-
</tr>
16919
-
<tr>
16920
-
<td><dfn>ariaControlsElements</dfn></td>
16921
-
<td><pref>aria-controls</pref></td>
16922
-
</tr>
16923
-
<tr>
16924
-
<td><dfn>ariaCurrent</dfn></td>
16925
-
<td><sref>aria-current</sref></td>
16926
-
</tr>
16927
-
<tr>
16928
-
<td><dfn>ariaDescribedByElements</dfn></td>
16929
-
<td><pref>aria-describedby</pref></td>
16930
-
</tr>
16931
-
<tr>
16932
-
<td><dfn>ariaDescription</dfn></td>
16933
-
<td><pref>aria-description</pref></td>
16934
-
</tr>
16935
-
<tr>
16936
-
<td><dfn>ariaDetailsElements</dfn></td>
16937
-
<td><pref>aria-details</pref></td>
16938
-
</tr>
16939
-
<tr>
16940
-
<td><dfn>ariaDisabled</dfn></td>
16941
-
<td><sref>aria-disabled</sref></td>
16942
-
</tr>
16943
-
<tr>
16944
-
<td><dfn>ariaErrorMessageElements</dfn></td>
16945
-
<td><pref>aria-errormessage</pref></td>
16946
-
</tr>
16947
-
<tr>
16948
-
<td><dfn>ariaExpanded</dfn></td>
16949
-
<td><sref>aria-expanded</sref></td>
16950
-
</tr>
16951
-
<tr>
16952
-
<td><dfn>ariaFlowToElements</dfn></td>
16953
-
<td><pref>aria-flowto</pref></td>
16954
-
</tr>
16955
-
<tr>
16956
-
<td><dfn>ariaHasPopup</dfn></td>
16957
-
<td><pref>aria-haspopup</pref></td>
16958
-
</tr>
16959
-
<tr>
16960
-
<td><dfn>ariaHidden</dfn></td>
16961
-
<td><sref>aria-hidden</sref></td>
16962
-
</tr>
16963
-
<tr>
16964
-
<td><dfn>ariaInvalid</dfn></td>
16965
-
<td><sref>aria-invalid</sref></td>
16966
-
</tr>
16967
-
<tr>
16968
-
<td><dfn>ariaKeyShortcuts</dfn></td>
16969
-
<td><pref>aria-keyshortcuts</pref></td>
16970
-
</tr>
16971
-
<tr>
16972
-
<td><dfn>ariaLabel</dfn></td>
16973
-
<td><pref>aria-label</pref></td>
16974
-
</tr>
16975
-
<tr>
16976
-
<td><dfn>ariaLabelledByElements</dfn></td>
16977
-
<td><pref>aria-labelledby</pref></td>
16978
-
</tr>
16979
-
<tr>
16980
-
<td><dfn>ariaLevel</dfn></td>
16981
-
<td><pref>aria-level</pref></td>
16982
-
</tr>
16983
-
<tr>
16984
-
<td><dfn>ariaLive</dfn></td>
16985
-
<td><pref>aria-live</pref></td>
16986
-
</tr>
16987
-
<tr>
16988
-
<td><dfn>ariaModal</dfn></td>
16989
-
<td><pref>aria-modal</pref></td>
16990
-
</tr>
16991
-
<tr>
16992
-
<td><dfn>ariaMultiLine</dfn></td>
16993
-
<td><pref>aria-multiline</pref></td>
16994
-
</tr>
16995
-
<tr>
16996
-
<td><dfn>ariaMultiSelectable</dfn></td>
16997
-
<td><pref>aria-multiselectable</pref></td>
16998
-
</tr>
16999
-
<tr>
17000
-
<td><dfn>ariaOrientation</dfn></td>
17001
-
<td><pref>aria-orientation</pref></td>
17002
-
</tr>
17003
-
<tr>
17004
-
<td><dfn>ariaOwnsElements</dfn></td>
17005
-
<td><pref>aria-owns</pref></td>
17006
-
</tr>
17007
-
<tr>
17008
-
<td><dfn>ariaPlaceholder</dfn></td>
17009
-
<td><pref>aria-placeholder</pref></td>
17010
-
</tr>
17011
-
<tr>
17012
-
<td><dfn>ariaPosInSet</dfn></td>
17013
-
<td><pref>aria-posinset</pref></td>
17014
-
</tr>
17015
-
<tr>
17016
-
<td><dfn>ariaPressed</dfn></td>
17017
-
<td><sref>aria-pressed</sref></td>
17018
-
</tr>
17019
-
<tr>
17020
-
<td><dfn>ariaReadOnly</dfn></td>
17021
-
<td><pref>aria-readonly</pref></td>
17022
-
</tr>
17023
-
<tr>
17024
-
<td><dfn>ariaRelevant</dfn></td>
17025
-
<td><pref>aria-relevant</pref></td>
17026
-
</tr>
17027
-
<tr>
17028
-
<td><dfn>ariaRequired</dfn></td>
17029
-
<td><pref>aria-required</pref></td>
17030
-
</tr>
17031
-
<tr>
17032
-
<td><dfn>ariaRoleDescription</dfn></td>
17033
-
<td><pref>aria-roledescription</pref></td>
17034
-
</tr>
17035
-
<tr>
17036
-
<td><dfn>ariaRowCount</dfn></td>
17037
-
<td><pref>aria-rowcount</pref></td>
17038
-
</tr>
17039
-
<tr>
17040
-
<td><dfn>ariaRowIndex</dfn></td>
17041
-
<td><pref>aria-rowindex</pref></td>
17042
-
</tr>
17043
-
<tr>
17044
-
<td><dfn>ariaRowIndexText</dfn></td>
17045
-
<td><pref>aria-rowindextext</pref></td>
17046
-
</tr>
17047
-
<tr>
17048
-
<td><dfn>ariaRowSpan</dfn></td>
17049
-
<td><pref>aria-rowspan</pref></td>
17050
-
</tr>
17051
-
<tr>
17052
-
<td><dfn>ariaSelected</dfn></td>
17053
-
<td><sref>aria-selected</sref></td>
17054
-
</tr>
17055
-
<tr>
17056
-
<td><dfn>ariaSetSize</dfn></td>
17057
-
<td><pref>aria-setsize</pref></td>
17058
-
</tr>
17059
-
<tr>
17060
-
<td><dfn>ariaSort</dfn></td>
17061
-
<td><pref>aria-sort</pref></td>
17062
-
</tr>
17063
-
<tr>
17064
-
<td><dfn>ariaValueMax</dfn></td>
17065
-
<td><pref>aria-valuemax</pref></td>
17066
-
</tr>
17067
-
<tr>
17068
-
<td><dfn>ariaValueMin</dfn></td>
17069
-
<td><pref>aria-valuemin</pref></td>
17070
-
</tr>
17071
-
<tr>
17072
-
<td><dfn>ariaValueNow</dfn></td>
17073
-
<td><pref>aria-valuenow</pref></td>
17074
-
</tr>
17075
-
<tr>
17076
-
<td><dfn>ariaValueText</dfn></td>
17077
-
<td><pref>aria-valuetext</pref></td>
17078
-
</tr>
17079
-
</table>
17080
-
<p class="note">Note: Attributes <pref>aria-dropeffect</pref> and <sref>aria-grabbed</sref> were deprecated in ARIA 1.1 and do not have corresponding IDL attributes.</p>
<p>Though specification authors can make exceptions to this pattern, the following rules were used to disambiguate names and case of the IDL attributes listed above.</p>
0 commit comments