[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 17:00:07 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: duplicate
Keywords: has-screenshots | Focuses: ui
-----------------------------+------------------------
Comment (by thesoftmall):
yes made these changes now thankyou ..Replying to [comment:6 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:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list