Skip to content

Commit 591be7c

Browse files
authored
add the new search element (#401)
* add the new search element * allowed roles: form, group, none, presentation, region and with the allowed but not recommended use of search. * All global `aria-*` attributes would be allowed on this element. * update change log the additional roles added to the search element allowances are to provide reasonable roles that developers may need to use while the search element is still being implemented by browsers, as well as roles which might be reasonable 'fixes' for someone who used the element per their understanding of its semantics, but was not aware of the landmark region it creates, which is not appropriate in context of their web page, or to mitigate instances of possible existing custom 'search' elements that are now valid html elements.
1 parent d4ff854 commit 591be7c

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

index.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@
6363
the following substantive additions and/or corrections have been proposed:
6464
p>
6565
<ul>
66+
<li>
67+
<a href="https://github.com/w3c/html-aria/pull/401">24 March 2023 - Addition:a>
68+
The <a href="#el-search">`search`a> element has been added.
69+
li>
6670
<li>
6771
<a href="https://github.com/w3c/html-aria/pull/447">6 March 2023 - Addition:a>
6872
Disallow `aria-hidden=true` on the `body` element.
@@ -2652,6 +2656,33 @@

26522656
p>
26532657
td>
26542658
tr>
2659+
<tr>
2660+
<th id="el-search" tabindex="-1">
2661+
[^search^]
2662+
th>
2663+
<td>
2664+
<p>
2665+
<code>role=<a href="#index-aria-search">searcha>code>
2666+
p>
2667+
td>
2668+
<td>
2669+
<div class="addition proposed">
2670+
<p>
2671+
Roles:
2672+
<a href="#index-aria-form">`form`a>,
2673+
<a href="#index-aria-group">`group`a>,
2674+
<a href="#index-aria-none">`none`a>,
2675+
<a href="#index-aria-presentation">`presentation`a> or
2676+
<a href="#index-aria-region">`region`a>.
2677+
(<code><a href="#index-aria-search">searcha>code> is also allowed, but NOT RECOMMENDED.)
2678+
p>
2679+
<p>
2680+
<a data-cite="wai-aria-1.2#global_states">Global `aria-*` attributesa>
2681+
and any `aria-*` attributes applicable to the allowed roles.
2682+
p>
2683+
div>
2684+
td>
2685+
tr>
26552686
<tr>
26562687
<th id="el-section" tabindex="-1">
26572688
[^section^]

0 commit comments

Comments
 (0)