Bug 215579 - webkit-search-cancel-button not keyboard accessible
Summary: webkit-search-cancel-button not keyboard accessible
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Safari 13
Hardware: Mac macOS 10.14
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-08-17 12:53 PDT by Robert Jolly
Modified: 2020-08-17 13:04 PDT (History)
2 users (show)

See Also:


Attachments
screenshot of webkit pseudo element in search to clear input value. (73.00 KB, image/png)
2020-08-17 12:53 PDT, Robert Jolly
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Jolly 2020-08-17 12:53:41 PDT
Created attachment 406735 [details]
screenshot of webkit pseudo element in search to clear input value.

The -webkit-search-cancel-button appears for sighted users, but it is unavailable for screen reader users and sighted, keyboard-only users. 

This presents a default in the browser which fails WCAG 2.1.1 Keyboard (Level A). See: https://www.w3.org/WAI/WCAG21/Understanding/keyboard.html and the Sufficient Technique G202 https://www.w3.org/WAI/WCAG21/Techniques/general/G202 and Failure F54 https://www.w3.org/WAI/WCAG21/Techniques/failures/F54. 

Developers who want to comply with WCAG need to override this webkit default, which is problematic, as defaults may be incorrectly assumed to be accessible. 

Recommendation:
Remove the pseudo element from search controls OR make the element fully accessible.
Comment 1 Radar WebKit Bug Importer 2020-08-17 12:53:50 PDT
<rdar://problem/67265076>