Bug 270694

Summary: AX: CSS content property referencing an image ignores empty string alt text
Product: WebKit Reporter: Anne van Kesteren <annevk>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: andresg_22, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on: 270377    
Bug Blocks:    

Anne van Kesteren
Reported 2024-03-08 04:59:38 PST
This is noticeable in particular with something like content: "x" url(x) / ""; A test for this has been added here: https://github.com/web-platform-tests/wpt/pull/44971. This is somewhat tricky to fix as the current code for this in AccessibilityNodeObject handles this and the img element at the same time apparently.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-03-08 04:59:48 PST
Anne van Kesteren
Comment 2 2024-03-08 08:50:10 PST
Hmm, I must have been mistaken yesterday when I thought this change had an effect. It's not needed after all.
Note You need to log in before you can comment on or make changes to this bug.