#60923 closed defect (bug) (duplicate)
Twenty Twenty-Four: Rectangular box around clickable elements in theme update 1.1
| Reported by: | thesoftmall | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Bundled Theme | Version: | 6.5 |
| Severity: | normal | Keywords: | has-screenshots |
| Cc: | Focuses: | ui |
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
@
2 years ago
- Component Themes → Bundled Theme
- Summary bug in theme twenty twenty-four update 1.1 → Twenty Twenty-Four: Rectangular box around clickable elements in theme update 1.1
#2
@
2 years ago
- Milestone Awaiting Review
- Resolution → duplicate
- Severity critical → normal
- Status assigned → closed
Hi and thanks for the report!
The focus outline is already tracked on #60808.
#5
@
2 years ago
- Resolution → invalid
- Status reopened → 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
@
2 years 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
@
2 years 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
@
2 years ago
yes made these changes now thankyou ..Replying to sabernhardt:
The current suggestion is changing
:focusto:focus-visibleintheme.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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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