Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Landmark Regions Practice: Update search landmark guidance to include new HTML search element #2923

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ <h2>HTML Sectioning Elements</h2>

<td><code>region</code> when it has an accessible name using <code>aria-labelledby</code> or <code>aria-label</code></td>
</tr>

<tr>
<td><code>search</code></td>

<td><code>search</code></td>
</tr>
</tbody>
</table>
</section>
Expand Down Expand Up @@ -414,11 +420,12 @@ <h3 class="widget-name">Search</h3>

<section>
<h4>HTML Technique</h4>
<p>There is no HTML element that defines a <code>search</code> landmark.</p>

<p>Use the HTML <code>search</code> element to define a <code>search</code> landmark.</p>

<h4>ARIA Technique</h4>

<p>The <code>role=&quot;search&quot;</code> attribute defines a <code>search</code> landmark.</p>
<p>If the HTML <code>search</code> element technique is not being used, use a <code>role=&quot;search&quot;</code> attribute to define a <code>search</code> landmark.</p>
</section>

<section>
Expand Down
Loading