#60923 closed defect (bug) (duplicate)
Twenty Twenty-Four: Rectangular box around clickable elements in theme update 1.1
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 6.5 |
Component: | Bundled Theme | Keywords: | has-screenshots |
Focuses: | ui | Cc: |
Description
The clickable elements like linked texts, search box, detail block, when clicked, a rectangular box appears around the text.
Attachments (1)
Change History (11)
#1
@
13 months ago
- Component changed from Themes to Bundled Theme
- Summary changed from bug in theme twenty twenty-four update 1.1 to Twenty Twenty-Four: Rectangular box around clickable elements in theme update 1.1
#2
@
13 months ago
- Milestone Awaiting Review deleted
- Resolution set to duplicate
- Severity changed from critical to normal
- Status changed from assigned to closed
Hi and thanks for the report!
The focus outline is already tracked on #60808.
#5
@
13 months ago
- Resolution set to invalid
- Status changed from reopened to closed
alright i got tried it and solved it for now, in theme editor go to themes.json file, and change the code line "css": ":where(.wp-site-blocks *:focus){outline-width:2px;outline-style:solid}", change 2px to 0. And the matter will be solved its solved for me this way
#6
follow-up:
↓ 10
@
13 months ago
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.
#7
@
13 months ago
@sabernhardt whats the other solution according to you then? in 2024theme version 1.0 it was not there this problem occured in version 1.1
#10
in reply to:
↑ 6
@
13 months ago
yes made these changes now thankyou ..Replying to sabernhardt:
The current suggestion is changing
:focus
to:focus-visible
intheme.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.
when i clicked the arrow box appeared arounf the text, this happens with the normal linked text as well when they are clicked, after 2024-theme update 1.1