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

add the new search element #401

Merged
merged 10 commits into from
Mar 24, 2023
Merged

add the new search element #401

merged 10 commits into from
Mar 24, 2023

Conversation

scottaohara
Copy link
Member

@scottaohara scottaohara commented Feb 4, 2022

closes #371

keeping this straight forward for the new element's initial inclusion.

edit: the allowed roles for this element are the following
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.

As the element is used in the wild, further updates may be necessary for the allowed roles, but these initial allowances should be more than enough for people who immediately misuse the new element and need to correct themselves while somehow also not being able to correct the actual html element.

DONE: update changelog for when the element lands and this PR can be merged into the spec.


Preview | Diff

keeping this straight forward for the new element's initial inclusion.

being that this is a new element, the reasoning for authors to need to immediately apply overwriting roles is irrelevant.  Thus I see no reason to initially allow any roles on this element.

All global `aria-*` attributes would be allowed on this element.
@scottaohara scottaohara added the blocked An issue that cannot be resolved due to other external requirements label Feb 4, 2022
@domenic domenic mentioned this pull request Feb 4, 2022
7 tasks
@scottaohara scottaohara added the needs changelog entry once 2 implementations land, we can merge and note it in our changelog. label Apr 4, 2022
@domenic
Copy link

domenic commented Mar 24, 2023

@scottaohara we merged the HTML PR, so this should be ready!!

@scottaohara scottaohara removed blocked An issue that cannot be resolved due to other external requirements needs changelog entry once 2 implementations land, we can merge and note it in our changelog. labels Mar 24, 2023
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.
@scottaohara
Copy link
Member Author

scottaohara commented Mar 24, 2023

@scottaohara scottaohara merged commit 591be7c into gh-pages Mar 24, 2023
@scottaohara scottaohara deleted the search-element-addition branch March 24, 2023 12:55
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allowances for proposed search element
2 participants