mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Bundled Theme: Improve focus outline in Twenty Twenty-Four.
Set a global focus outline for block elements in Twenty Twenty-Four to enhance accessibility. Replace the 1px dotted outline previously assigned on the button block. Props alh0319, poena, beafialho, shailu25. Fixes #60334. git-svn-id: https://develop.svn.wordpress.org/trunk@57554 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -795,9 +795,7 @@
|
||||
},
|
||||
"outline": {
|
||||
"color": "var(--wp--preset--color--contrast)",
|
||||
"offset": "2px",
|
||||
"style": "dotted",
|
||||
"width": "1px"
|
||||
"offset": "2px"
|
||||
},
|
||||
"border": {
|
||||
"color": "var(--wp--preset--color--contrast-2)"
|
||||
@@ -908,7 +906,8 @@
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "400",
|
||||
"lineHeight": "1.55"
|
||||
}
|
||||
},
|
||||
"css": ".wp-site-blocks *:focus{outline-width:2px;outline-style:solid}"
|
||||
},
|
||||
"templateParts": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user