Skip to content

Commit

Permalink
docs: replaces 'Not available' with 'search' (#2604)
Browse files Browse the repository at this point in the history
I believe it should point to the search element, as it already defines a role landmark: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/search
  • Loading branch information
kenji-webdev committed Dec 13, 2023
1 parent 9400e01 commit 629dc65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/guide/best-practices/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Users can navigate an application through headings. Having descriptive headings
| main | role="main" | The main or central content of the document. |
| footer | role="contentinfo" | Information about the parent document: footnotes/copyrights/links to privacy statement |
| aside | role="complementary" | Supports the main content, yet is separated and meaningful on its own content |
| _Not available_ | role="search" | This section contains the search functionality for the application |
| search | role="search" | This section contains the search functionality for the application |
| form | role="form" | Collection of form-associated elements |
| section | role="region" | Content that is relevant and that users will likely want to navigate to. Label must be provided for this element |

Expand Down

0 comments on commit 629dc65

Please sign in to comment.