[wp-trac] [WordPress Trac] #60923: Twenty Twenty-Four: Rectangular box around clickable elements in theme update 1.1
WordPress Trac
noreply at wordpress.org
Thu Apr 4 16:41:05 UTC 2024
#60923: Twenty Twenty-Four: Rectangular box around clickable elements in theme
update 1.1
-----------------------------+----------------------
Reporter: thesoftmall | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Bundled Theme | Version: 6.5
Severity: normal | Resolution: invalid
Keywords: has-screenshots | Focuses: ui
-----------------------------+----------------------
Comment (by sabernhardt):
The current suggestion is changing `:focus` to `:focus-visible` in
`theme.json`.
`:where(.wp-site-blocks *:focus-visible){outline-width:2px;outline-
style:solid}`
If you completely remove the focus outline, people will not know which
element is focused when navigating by keyboard. The darker outline is not
a bug; it's simply not desired in all situations.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60923#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list