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:
joedolson 2024-02-07 17:27:10 +00:00
parent 7464bdc47a
commit f3dd3c787c
2 changed files with 4 additions and 5 deletions

View File

@ -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": [
{

View File

@ -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.