Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

Commit

Permalink
updated dom/form element aria info
Browse files Browse the repository at this point in the history
align with aria in html updates
  • Loading branch information
stevefaulkner committed Nov 14, 2016
1 parent 54c53a7 commit 84b8fde
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 27 deletions.
2 changes: 1 addition & 1 deletion sections/dom.include
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@
disallowed), along with non-normative descriptions of those attributes. (The content to the disallowed), along with non-normative descriptions of those attributes. (The content to the
left of the dash is normative, the content to the right of the dash is not.) left of the dash is normative, the content to the right of the dash is not.)
: Allowed <a href="#aria-role-attribute">ARIA role attribute</a> values : Allowed <a href="#aria-role-attribute">ARIA role attribute</a> values
:: A normative list of <a href="#aria-role-attribute">ARIA role attribute</a> values that may be specified on the element :: A non normative list of <a href="#aria-role-attribute">ARIA role attribute</a> values that may be specified on the element
(except where otherwise disallowed). Each value is linked to a non normative description. (except where otherwise disallowed). Each value is linked to a non normative description.
: Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a> : Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>
:: Links to the <a>Global aria-* attributes</a> list and the :: Links to the <a>Global aria-* attributes</a> list and the
Expand Down
57 changes: 31 additions & 26 deletions sections/semantics-forms.include
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -828,7 +828,9 @@
<dd><{form/novalidate}> - Bypass form control validation for [[#forms-form-submission]]</dd> <dd><{form/novalidate}> - Bypass form control validation for [[#forms-form-submission]]</dd>
<dd><{form/target}> - <a>browsing context</a> for [[#forms-form-submission]]</dd> <dd><{form/target}> - <a>browsing context</a> for [[#forms-form-submission]]</dd>
<dt>Allowed <a href="#aria-role-attribute">ARIA role attribute</a> values:</dt> <dt>Allowed <a href="#aria-role-attribute">ARIA role attribute</a> values:</dt>
<dd><a href="#allowed-aria-roles-states-and-properties">Any role value</a>.</dd> dd><a value for="role"><code>form</code></a>
(default - <a><em>do not set</em></a>), <a value for="role"><code>search</code></a> or
<a value for="role"><code>presentation</code></a>.
<dt>Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>:</dt> <dt>Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>:</dt>
<dd><a>Global aria-* attributes</a></dd> <dd><a>Global aria-* attributes</a></dd>
<dd>Any <code>aria-*</code> attributes <dd>Any <code>aria-*</code> attributes
Expand Down Expand Up @@ -2845,9 +2847,10 @@ part of the form.</p>
<div class="note"> <div class="note">
<dl> <dl>
<dt>Allowed <a href="#aria-role-attribute">ARIA role attribute</a> values:</dt> <dt>Allowed <a href="#aria-role-attribute">ARIA role attribute</a> values:</dt>
<dd><a value for="role"><code>textbox</code></a> <dd><a value for="role"><code>searchbox</code></a> with no <{input/list}> attribute
(default - <a><em>do not set</em></a>) or (default - <a><em>do not set</em></a>) or with a <{input/list}> attribute:
<a value for="role"><code>combobox</code></a>.</dd><dt>Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>:</dt> <a value for="role"><code>combobox</code></a> (default - <a><em>do not set</em></a>).</dd>
<dt>Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>:</dt>
<dd><a>Global aria-* attributes</a></dd> <dd><a>Global aria-* attributes</a></dd>
<dd>Any <code>aria-*</code> attributes <dd>Any <code>aria-*</code> attributes
<a href="#allowed-aria-roles-states-and-properties">applicable to the allowed roles</a>.</dd> <a href="#allowed-aria-roles-states-and-properties">applicable to the allowed roles</a>.</dd>
Expand Down Expand Up @@ -2967,9 +2970,10 @@ part of the form.</p>
<div class="note"> <div class="note">
<dl> <dl>
<dt>Allowed <a href="#aria-role-attribute">ARIA role attribute</a> values:</dt> <dt>Allowed <a href="#aria-role-attribute">ARIA role attribute</a> values:</dt>
<dd><a value for="role"><code>textbox</code></a> <dd><a value for="role"><code>textbox</code></a> with no <{input/list}> attribute
(default - <a><em>do not set</em></a>) or (default - <a><em>do not set</em></a>) or with a <{input/list}> attribute:
<a value for="role"><code>combobox</code></a>.</dd><dt>Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>:</dt> <a value for="role"><code>combobox</code></a> (default - <a><em>do not set</em></a>).</dd>
<dt>Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>:</dt>
<dd><a>Global aria-* attributes</a></dd> <dd><a>Global aria-* attributes</a></dd>
<dd>Any <code>aria-*</code> attributes <dd>Any <code>aria-*</code> attributes
<a href="#allowed-aria-roles-states-and-properties">applicable to the allowed roles</a>.</dd> <a href="#allowed-aria-roles-states-and-properties">applicable to the allowed roles</a>.</dd>
Expand Down Expand Up @@ -3076,9 +3080,10 @@ part of the form.</p>
<div class="note"> <div class="note">
<dl> <dl>
<dt>Allowed <a href="#aria-role-attribute">ARIA role attribute</a> values:</dt> <dt>Allowed <a href="#aria-role-attribute">ARIA role attribute</a> values:</dt>
<dd><a value for="role"><code>textbox</code></a> <dd><a value for="role"><code>textbox</code></a> with no <{input/list}> attribute
(default - <a><em>do not set</em></a>) or (default - <a><em>do not set</em></a>) or with a <{input/list}> attribute:
<a value for="role"><code>combobox</code></a>.</dd><dt>Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>:</dt> <a value for="role"><code>combobox</code></a> (default - <a><em>do not set</em></a>).</dd>
<dt>Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>:</dt>
<dd><a>Global aria-* attributes</a></dd> <dd><a>Global aria-* attributes</a></dd>
<dd>Any <code>aria-*</code> attributes <dd>Any <code>aria-*</code> attributes
<a href="#allowed-aria-roles-states-and-properties">applicable to the allowed roles</a>.</dd> <a href="#allowed-aria-roles-states-and-properties">applicable to the allowed roles</a>.</dd>
Expand Down Expand Up @@ -3221,9 +3226,10 @@ part of the form.</p>
<div class="note"> <div class="note">
<dl> <dl>
<dt>Allowed <a href="#aria-role-attribute">ARIA role attribute</a> values:</dt> <dt>Allowed <a href="#aria-role-attribute">ARIA role attribute</a> values:</dt>
<dd><a value for="role"><code>textbox</code></a> <dd><a value for="role"><code>textbox</code></a> with no <{input/list}> attribute
(default - <a><em>do not set</em></a>) or (default - <a><em>do not set</em></a>) or with a <{input/list}> attribute:
<a value for="role"><code>combobox</code></a>.</dd><dt>Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>:</dt> <a value for="role"><code>combobox</code></a> (default - <a><em>do not set</em></a>).</dd>
<dt>Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>:</dt>
<dd><a>Global aria-* attributes</a></dd> <dd><a>Global aria-* attributes</a></dd>
<dd>Any <code>aria-*</code> attributes <dd>Any <code>aria-*</code> attributes
<a href="#allowed-aria-roles-states-and-properties">applicable to the allowed roles</a>.</dd> <a href="#allowed-aria-roles-states-and-properties">applicable to the allowed roles</a>.</dd>
Expand Down Expand Up @@ -3455,12 +3461,9 @@ ldh-str = &lt; as defined in <a>RFC 1034 section 3.5</a> &gt;
<div class="note"> <div class="note">
<dl> <dl>
<dt>Allowed <a href="#aria-role-attribute">ARIA role attribute</a> values:</dt> <dt>Allowed <a href="#aria-role-attribute">ARIA role attribute</a> values:</dt>
<dd><a value for="role"><code>textbox</code></a> <dd>None</dd>
(default - <a><em>do not set</em></a>).</dd>
<dt>Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>:</dt> <dt>Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>:</dt>
<dd><a>Global aria-* attributes</a></dd> <dd><a>Global aria-* attributes</a></dd>
<dd>Any <code>aria-*</code> attributes
<a href="#allowed-aria-roles-states-and-properties">applicable to the allowed roles</a>.</dd>
</dl> </dl>
</div> </div>


Expand Down Expand Up @@ -5023,7 +5026,8 @@ input { height: 75px; width: 49px; background: #D5CCBB; color: black; }
<dl> <dl>
<dt>Allowed <a href="#aria-role-attribute">ARIA role attribute</a> values:</dt> <dt>Allowed <a href="#aria-role-attribute">ARIA role attribute</a> values:</dt>
<dd><a value for="role"><code>checkbox</code></a> <dd><a value for="role"><code>checkbox</code></a>
(default - <a><em>do not set</em></a>) or <a value for="role"><code>menuitemcheckbox</code></a>.</dd> (default - <a><em>do not set</em></a>), <a value for="role"><code>menuitemcheckbox</code></a>,
<a value for="role"><code>option</code></a> or <a value for="role"><code>switch</code></a>.</dd>
<dt>Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>:</dt> <dt>Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>:</dt>
<dd><a>Global aria-* attributes</a></dd> <dd><a>Global aria-* attributes</a></dd>
<dd>Any <code>aria-*</code> attributes <dd>Any <code>aria-*</code> attributes
Expand Down Expand Up @@ -6024,10 +6028,11 @@ input { height: 75px; width: 49px; background: #D5CCBB; color: black; }
<dd><a value for="role"><code>button</code></a> <dd><a value for="role"><code>button</code></a>
(default - <a><em>do not set</em></a>), (default - <a><em>do not set</em></a>),
<a value for="role"><code>link</code></a>, <a value for="role"><code>link</code></a>,
<a value for="role"><code>menuitem</code></a>, <a value for="role"><code>menuitem</code></a>,
<a value for="role"><code>menuitemcheckbox</code></a>, <a value for="role"><code>menuitemcheckbox</code></a>,
<a value for="role"><code>menuitemradio</code></a> <a value for="role"><code>menuitemradio</code></a>,
or <a value for="role"><code>radio</code></a>.</dd> <a value for="role"><code>radio</code></a> or
<a value for="role"><code>switch</code></a>.</dd>
<dt>Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>:</dt> <dt>Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>:</dt>
<dd><a>Global aria-* attributes</a></dd> <dd><a>Global aria-* attributes</a></dd>
<dd>Any <code>aria-*</code> attributes <dd>Any <code>aria-*</code> attributes
Expand Down Expand Up @@ -7313,10 +7318,11 @@ You cannot submit this form when the field is incorrect.</samp></pre>
<dd><a value for="role"><code>button</code></a> <dd><a value for="role"><code>button</code></a>
(default - <a><em>do not set</em></a>), (default - <a><em>do not set</em></a>),
<a value for="role"><code>link</code></a>, <a value for="role"><code>link</code></a>,
<a value for="role"><code>menuitem</code></a>, <a value for="role"><code>menuitem</code></a>,
<a value for="role"><code>menuitemcheckbox</code></a>, <a value for="role"><code>menuitemcheckbox</code></a>,
<a value for="role"><code>menuitemradio</code></a> <a value for="role"><code>menuitemradio</code></a>,
or <a value for="role"><code>radio</code></a>.</dd> <a value for="role"><code>radio</code></a> or
<a value for="role"><code>switch</code></a>.</dd>
<dt>Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>:</dt> <dt>Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>:</dt>
<dd><a>Global aria-* attributes</a></dd> <dd><a>Global aria-* attributes</a></dd>
<dd>Any <code>aria-*</code> attributes <dd>Any <code>aria-*</code> attributes
Expand Down Expand Up @@ -8466,7 +8472,7 @@ You cannot submit this form when the field is incorrect.</samp></pre>
<dd><{textarea/rows}> - Number of lines to show</dd> <dd><{textarea/rows}> - Number of lines to show</dd>
<dd><{textarea/wrap}> - How the value of the form control is to be wrapped for [[#forms-form-submission]]</dd> <dd><{textarea/wrap}> - How the value of the form control is to be wrapped for [[#forms-form-submission]]</dd>
<dt>Allowed <a href="#aria-role-attribute">ARIA role attribute</a> values:</dt> <dt>Allowed <a href="#aria-role-attribute">ARIA role attribute</a> values:</dt>
<dd><a value for="role"><code>textbox</code></a> <dd><a value for="role"><code>textbox</code></a> with the <code>aria-multiline</code> property set to "true"
(default - <a><em>do not set</em></a>).</dd> (default - <a><em>do not set</em></a>).</dd>
<dt>Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>:</dt> <dt>Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>:</dt>
<dd><a>Global aria-* attributes</a></dd> <dd><a>Global aria-* attributes</a></dd>
Expand Down Expand Up @@ -9626,7 +9632,6 @@ out of 233 257 824 bytes available&lt;/meter&gt;&lt;/p&gt;
<dd><{fieldset/name}> - Name of form control to use for [[#forms-form-submission]] and in the {{HTMLFormElement/elements|form.elements}} API </dd> <dd><{fieldset/name}> - Name of form control to use for [[#forms-form-submission]] and in the {{HTMLFormElement/elements|form.elements}} API </dd>
<dt>Allowed <a href="#aria-role-attribute">ARIA role attribute</a> values:</dt> <dt>Allowed <a href="#aria-role-attribute">ARIA role attribute</a> values:</dt>
<dd><a value for="role"><code>group</code></a> <dd><a value for="role"><code>group</code></a>
(default - <a><em>do not set</em></a>)
or <a value for="role"><code>presentation</code></a>.</dd> or <a value for="role"><code>presentation</code></a>.</dd>
<dt>Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>:</dt> <dt>Allowed <a href="#state-and-property-attributes">ARIA state and property attributes</a>:</dt>
<dd><a>Global aria-* attributes</a></dd> <dd><a>Global aria-* attributes</a></dd>
Expand Down

0 comments on commit 84b8fde

Please sign in to comment.