-
Notifications
You must be signed in to change notification settings - Fork 1.6k
ariaErrorMessageElements should be ariaErrorMessageElement #7989
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
Conversation
EWS run on previous version of this PR (hash cd579f6)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
https://bugs.webkit.org/show_bug.cgi?id=249752 Reviewed by NOBODY (OOPS!). Replace ariaErrorMessageElements with ariaErrorMessageElement per spec: https://w3c.github.io/aria/#accessibilityroleandproperties-correspondence * LayoutTests/accessibility/ARIA-reflection-expected.txt: * LayoutTests/accessibility/ARIA-reflection.html: * LayoutTests/accessibility/custom-elements/describedby-expected.txt: * LayoutTests/accessibility/custom-elements/describedby-shadow-expected.txt: * LayoutTests/accessibility/custom-elements/describedby-shadow.html: * LayoutTests/accessibility/custom-elements/describedby.html: * LayoutTests/accessibility/element-reflection-ariaerrormessage-expected.txt: * LayoutTests/accessibility/element-reflection-ariaerrormessage.html: * LayoutTests/fast/custom-elements/reactions-for-aria-element-attributes-expected.txt: * LayoutTests/fast/custom-elements/reactions-for-aria-element-attributes.html: * LayoutTests/imported/w3c/web-platform-tests/custom-elements/form-associated/ElementInternals-accessibility-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/dom/aria-element-reflection-expected.txt: * Source/WebCore/accessibility/AriaAttributes.idl: * Source/WebCore/bindings/js/JSElementCustom.cpp: (WebCore::JSElement::ariaErrorMessageElements const): Deleted. * Source/WebCore/bindings/js/JSElementInternalsCustom.cpp: (WebCore::JSElementInternals::ariaErrorMessageElements const): Deleted. * Source/WebCore/dom/Element.cpp: (WebCore::Element::isElementReflectionAttribute): (WebCore::Element::isElementsArrayReflectionAttribute): * Source/WebCore/dom/ElementInternals.idl:
EWS run on current version of this PR (hash 14a11aa)
|
Note that WebKit allows to reference more than one element in There was an ARIA issue and PR about this, but it seems things haven't landed on the spec yet. Maybe @cookiecrook can provide some feedback on this topic. |
I'm fine with either outcome but clearly we want to be interoperable across browsers. WebKit shipping one off implementation for list isn't going to work. |
Yeah sure, as the ARIA PR was approved I thought it'd have been merged, but it looks it hasn't yet. I'm fine with this change here, but the problem is that in WebKit you can do |
I think this WebKit PR and Issue should be closed as NTBF/WONTFIX. The ARIA PR hasn't merged yet because Co-Chair @spectranaut wants a WPT test, but that won't change the implementation. Multiple content attribute IDREFS in |
Sounds like we should update WPT then. |
14a11aa
14a11aa