-
Notifications
You must be signed in to change notification settings - Fork 378
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
Reference Target: Which attributes are in scope? #1091
Comments
I think it should work for all of them, but maybe |
The one potential exception I was aware of was |
I think to add
It seems that the Firefox team are confident in their implementation of |
+1 to what Alice said. I think we'd want to create most of the same stability tests we have for aria-owns=IDREF but using ariaOwnsElements. Also, we put a request out there for use cases for aria-owns to cross shadow boundaries but heard nothing. I wanted to avoid a situation where a high implementation cost did not pay back in terms of supported use case. Note that regular aria-owns was really, really hard to get right. It's always been one of the leading culprits when the engine hits an assertion indicating that the current tree and processing were in an inconsistent state. It has funny ways of combining with other markup, |
+1 to supporting everything if possible, including
The web components community group likely can help fill in WPT for this, if that helps.
Sorry, I missed this. I don't have practical experience with |
I looked deeper into The spec only users In Chromium |
I see However, @dandclark is still correct that we can't write WPT tests for that yet, since it doesn't contribute to role or name computation. We'll need to wait until WPTs for AAMs are realised before we can write those tests, I think. In the meantime, I guess we'll just have to write browser-specific tests for that behaviour? |
I think we might want to be a bit more explicit about which attributes should be in scope for this feature.
l think I understand the reasoning behind wanting all attributes [1] to be in scope: I imagine it would be easier to explain that this is simply how ID/reference attributes work, in general. Also, adding an existing attribute into the scope of attributes which support
referenceTarget
after the feature ships would be a breaking change.However, there are at least two attributes which seem to me to be potentially out of scope, and I don't see any WPT tests for them:
headers
on<td>
/<tr>
(listed in the explainer as being in-scope)itemref
- a global attribute used in Microdata (not listed in the explainer)If we did exclude those attributes, we would need to consider how to:
referenceTarget
forwardingreferenceTarget
behaviour.--
[1] The explainer states:
The text was updated successfully, but these errors were encountered: