[wp-trac] [WordPress Trac] #56789: Toolbar: screen-reader-shortcut does not have background color until focused
WordPress Trac
noreply at wordpress.org
Fri Oct 28 10:55:39 UTC 2022
#56789: Toolbar: screen-reader-shortcut does not have background color until
focused
-------------------------------------------------+-------------------------
Reporter: sabernhardt | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.2
Component: Toolbar | Version:
Severity: minor | Resolution:
Keywords: has-patch needs-testing has- | Focuses:
screenshots needs-testing-info | accessibility, css
-------------------------------------------------+-------------------------
Comment (by afercia):
This isn't a real problem for users, as when the element is visible the
contrast is OK. WAVE reports a false positive because it isn't aware the
element is positioned off screen and thus isn't actually visible.
Note that all automated accessibility checkers often report false
positives related to contrast as in some cases they can't understand what
the actual background color is (think for example at an element with no
explicit background color set).
That said, it would be cleaner to change on focus only the CSS properties
that bring the element into view, if that doesn't break anything.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56789#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list