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. Built from https://develop.svn.wordpress.org/trunk@57554 git-svn-id: http://core.svn.wordpress.org/trunk@57055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7464bdc47a
commit
f3dd3c787c
|
@ -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": [
|
||||
{
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.5-alpha-57553';
|
||||
$wp_version = '6.5-alpha-57554';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue