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

Should datalist, option, object, and/or iframe elements be listed in "interactive content"? #10755

Open
josepharhar opened this issue Nov 8, 2024 · 3 comments

Comments

@josepharhar
Copy link
Contributor

What is the issue with the HTML Standard?

This came up during the spec review for the customizable select content model: #10586 (comment)

@annevk
Copy link
Member

annevk commented Nov 8, 2024

cc @sideshowbarker

@josepharhar
Copy link
Contributor Author

An example where this might already be an issue is that button elements already allow objects within them, and objects can act as an iframe and are keyboard focusable in chrome.

Content model for buttons:

Phrasing content, but there must be no interactive content descendant and no descendant with the tabindex attribute specified.

@scottaohara

@scottaohara
Copy link
Collaborator

one point of clarity:
iframe is already listed as an interactive element. so the question i had is more shouldn't object elements that can be used similarly to iframes be considered interactive too?

if not, then what is it about iframe that makes it interactive, but an object performing the same user experience is not?

But really, with the changes to select / i'm questioning why these wouldn't necessitate an update to option and or datalist to also become classified as interactive elements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants