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

[Role Parity] What do we do about embed? #929

Closed
joanmarie opened this issue Apr 9, 2019 · 9 comments
Closed

[Role Parity] What do we do about embed? #929

joanmarie opened this issue Apr 9, 2019 · 9 comments
Milestone

Comments

@joanmarie
Copy link
Contributor

No description provided.

@joanmarie joanmarie added this to the ARIA 1.2 milestone Apr 9, 2019
@jnurthen jnurthen modified the milestones: ARIA 1.2, ARIA 1.3 Sep 26, 2019
@jnurthen
Copy link
Member

@joanmarie
Copy link
Contributor Author

Tentative consensus: New embeddedobject role. Largely a generic herebedragons container to preserve exposure via platform accessibility APIs.

@scottaohara
Copy link
Member

scottaohara commented Nov 21, 2019

also noting the created role should handle both object and embed.

@scottaohara
Copy link
Member

So an update on this...

In drafting up a potential definition for this role, and re-reviewing what object and embed are meant to represent, I'm wondering if this might be similar to generic in that this role is more meant for implementors rather than authors.

Being that these elements largely embed content that could be considered graphics or other media (videos/audio), nested browsing contexts (application or document roles) or plugins like flash, i'm unsure why we'd want authors to use this role when it'd be more straight forward to use other roles that better represent the embedded content.

I think we could still use this role specifically for role parity and giving object and embed an ARIA role to map to. But presently I'm not thinking this is a role for authors.

Differing thoughts here?

thanks

@scottaohara
Copy link
Member

scottaohara commented Jan 14, 2022

I've been doing a bunch of testing and review of embed, object and iframe due to inconsistencies in support, as well as some pretty bad behaviors, for what happens when using certain ARIA roles on these elements.

For each, I've included a baseline vanilla element for comparative purposes. Often, the element itself is ignored entirely and instead is merely represented by the content it renders. In other cases, iframe behavior (where a 'frame' or announcement to indicate a sub-document has been encountered) is made.

Essentially, it has strengthened my previous thought that if a role is made for parity with these elements, that it would need to be another generic-like role. This wouldn't be a role for authors, but more for attempting to make consistency with browsers/AT in handling these different HTML elements.... and arguably the best thing to do for much of what they can be used to represent, is to just expose nothing and let users interact with the content they are used to render, instead.

This is all, of course, directly related to #879 as well. I actually think that we could probably combine these different issues, since the object and embed elements behave similarly to iframe in that depending on what they render (e.g., an html document) they are essentially different ways to create a nested 'frame' in a document.

Right now this issue is marked as low priority, but the iframe issue is marked as high priority. I'd submit they should be the same.

@pkra pkra added the Agenda label Jan 14, 2022
@pkra
Copy link
Member

pkra commented Jan 14, 2022

+1. I've added the agenda label so we can revisit this on a call.

@cookiecrook
Copy link
Contributor

cookiecrook commented Jan 20, 2022

Somewhat related to #529. Ideas from that applied to this context would be that the engines might return "html:embed" or "host-embed" as the computedRole.

@scottaohara scottaohara removed their assignment Jan 20, 2022
@scottaohara
Copy link
Member

removing my assignment for now. happy to work on this in the future, but seems we need to talk about it more in context of 529.

@jnurthen
Copy link
Member

jnurthen commented Sep 9, 2023

lets close this - no need for role parity for embed. we can use #529 for elements like these

@jnurthen jnurthen closed this as completed Sep 9, 2023
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

No branches or pull requests

5 participants