Skip to content

Commit

Permalink
Editor Menubar Example: Add aria-expanded validation note
Browse files Browse the repository at this point in the history
For issue #447, Added the following note below the roles, states, and properties table on the Editor menubar example page:

> Currently, using aria-expanded on elements with role menuitem triggers HTML validation errors because the ARIA specification does not yet support doing so.
> The ARIA working group plans to resolve this issue in the next version of the specification.
> Until a version of ARIA that resolves the issue becomes a W3C recommendation, it is safe to ignore these validation errors.
> Alternatively, since only a few browser and assistive technology combinations exploit this feature of the pattern, it can be omitted from implementations.

IN the two rows of the table about aria-expanded, added text to see note below.

Also added to 2 rows on the navigation menubar table that I overlooked in previous commit.
  • Loading branch information
mcking65 committed Oct 8, 2017
1 parent 310801c commit 1c2446b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/menubar/menubar-1/menubar-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ <h3 id="rps1_label">Menubar</h3>
<td>
<code>a</code>
</td>
<td>Indicates the submenu is open.</td>
<td>Indicates the submenu is open. (<strong>See note below.</strong>)</td>
</tr>
<tr>
<td></td>
Expand All @@ -459,7 +459,7 @@ <h3 id="rps1_label">Menubar</h3>
<td>
<code>a</code>
</td>
<td>Indicates the submenu is closed.</td>
<td>Indicates the submenu is closed. (<strong>See note below.</strong>)</td>
</tr>
<tr>
<th>
Expand Down
13 changes: 11 additions & 2 deletions examples/menubar/menubar-2/menubar-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ <h3 id="rps1_label">Menubar</h3>
<code>li</code>
</td>
<td>
Indicates the submenu is open.
Indicates the submenu is open. (<strong>See note below.</strong>)
</td>
</tr>
<tr>
Expand All @@ -441,7 +441,7 @@ <h3 id="rps1_label">Menubar</h3>
<code>li</code>
</td>
<td>
Indicates the submenu is closed.
Indicates the submenu is closed. (<strong>See note below.</strong>)
</td>
</tr>
</tbody>
Expand Down Expand Up @@ -665,6 +665,15 @@ <h3 id="rps2_label">Submenu</h3>
</tr>
</tbody>
</table>
<h3>Note</h3>
<p>
Currently, using aria-expanded on elements with role menuitem triggers HTML validation errors because the ARIA specification does not yet support doing so.
The ARIA working group plans to resolve this issue in the next version of the specification.
Until a version of ARIA that resolves
<a href="https://github.com/w3c/aria/issues/454">the issue</a>
becomes a W3C recommendation, it is safe to ignore these validation errors.
Alternatively, since only a few browser and assistive technology combinations exploit this feature of the pattern, it can be omitted from implementations.
</p>
</section>

<section>
Expand Down

0 comments on commit 1c2446b

Please sign in to comment.