Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 47f7deca4cff8a33ff3881f7d2801030f87c1d03 https://github.com/WebKit/WebKit/commit/47f7deca4cff8a33ff3881f7d2801030f87c1d03 Author: Joone Hur <jo...@webkit.org> Date: 2023-11-09 (Thu, 09 Nov 2023)
Changed paths: M LayoutTests/imported/w3c/web-platform-tests/html-aam/roles-contextual-expected.txt M LayoutTests/imported/w3c/web-platform-tests/html-aam/roles-contextual.html M Source/WebCore/accessibility/AccessibilityNodeObject.cpp Log Message: ----------- Assign generic role to aside tag within the sectioning content elements https://bugs.webkit.org/show_bug.cgi?id=235065 rdar://problem/87391915 Reviewed by Tyler Wilcock. This change assigns a generic ARIA role to <aside> elements when they are nested within <aside>, <article>, <section>, or <nav> elements, aligning with the spec (https://w3c.github.io/html-aam/#el-aside). This follows the discussion in https://github.com/w3c/html-aam/issues/512 Additionally, it introduces a check to return LandmarkComplementary when an <aside> tag has an explicit accessible name. * LayoutTests/imported/w3c/web-platform-tests/html-aam/roles-contextual-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html-aam/roles-contextual.html: * Source/WebCore/accessibility/AccessibilityNodeObject.cpp: (WebCore::AccessibilityNodeObject::determineAccessibilityRoleFromNode const): Canonical link: https://commits.webkit.org/270509@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes