RESOLVED FIXED309958
AX: Interactive elements containing the `<svg>` element which is named by `<title>` element doesn't have accessible name
https://bugs.webkit.org/show_bug.cgi?id=309958
Summary AX: Interactive elements containing the `<svg>` element which is named by `<t...
Yusuke Oyama
Reported 2026-03-14 08:41:21 PDT
Created attachment 478681 [details] Minimal Duplication of this bug Interactive elements containing the `<svg>` element which is named by `<title>` element doesn't have accessible name. Other major browsers provide accessible name, and this is tested by WPT. - https://wpt.fyi/results/svg-aam/name/comp_host_language_label.html?label=experimental&label=master&aligned - https://github.com/web-platform-tests/wpt/pull/56902 And if we link `<title>` to `<svg>` elements using `aria-lablledby`, accessible name is provided as expected. Maybe this is because `accessibleNameDerivesFromContent` lacks `AccessibilityRole::GraphicsDocument` case (If this is true I wanted to fix it, but WebKit build failed on my WSL). - https://github.com/mehm8128/WebKit/blob/3b02812a7683a3998192d99f74d606cb0663829c/Source/WebCore/accessibility/AccessibilityObject.cpp#L292 - graphics-document role is named from author: https://w3c.github.io/graphics-aria/#graphics-document This is used to decide how to calculate the accessible name using its child elements. https://github.com/WebKit/WebKit/blob/3b02812a7683a3998192d99f74d606cb0663829c/Source/WebCore/accessibility/AccessibilityNodeObject.cpp#L3927
Attachments
Minimal Duplication of this bug (1.21 KB, text/html)
2026-03-14 08:41 PDT, Yusuke Oyama
no flags
Radar WebKit Bug Importer
Comment 1 2026-03-14 08:41:27 PDT
Yusuke Oyama
Comment 2 2026-05-03 22:48:43 PDT
James Craig
Comment 3 2026-05-08 13:24:07 PDT
Related to bug 265321.
Ahmad Saleem
Comment 4 2026-05-08 19:44:05 PDT
EWS
Comment 5 2026-05-09 11:23:12 PDT
Committed 312953@main (dc550e53da50): <https://commits.webkit.org/312953@main> Reviewed commits have been landed. Closing PR #64593 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.