[Webkit-unassigned] [Bug 255433] New: Accessibility is not informed of changes to several attributes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 13 21:09:26 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=255433
Bug ID: 255433
Summary: Accessibility is not informed of changes to several
attributes
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Accessibility
Assignee: webkit-unassigned at lists.webkit.org
Reporter: tyler_w at apple.com
CC: andresg_22 at apple.com,
webkit-bug-importer at group.apple.com
Accessibility relies on attribute changes from the DOM to stay up to date, and we are missing quite a few. This is because accessibility is notified about attribute changes in Element::attributeChanged. However, this method is virtual, and many subclasses don't call up to Element::attributeChanged. I believe we've always had this problem for some attributes, but it was worsened with the restructuring in this change:
https://bugs.webkit.org/show_bug.cgi?id=255258 (Drop Element::parseAttribute())
After this change, we stopped receiving updates for the disabled attribute for option elements, the placeholder attribute for HTMLTextFormControlElement subclasses, and likely more.
This was caught because accessibility/dynamic-attribute-changes-should-update-isenabled.html started failing in isolated tree mode (--accessibility-isolated-tree test runner flag). This configuration is not in EWS (post-commit only for now), so it couldn't have been caught up-front.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230414/815991d9/attachment.htm>
More information about the webkit-unassigned
mailing list