-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trunk' into try/simplify-navigate-regions-shortcuts
- Loading branch information
Showing
71 changed files
with
1,303 additions
and
594 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
https://github.com/WordPress/wordpress-develop/pull/7139 | ||
|
||
* https://github.com/WordPress/gutenberg/pull/64504 | ||
* https://github.com/WordPress/gutenberg/pull/65280 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
https://github.com/WordPress/wordpress-develop/pull/7336 | ||
|
||
* https://github.com/WordPress/gutenberg/pull/65071 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,11 @@ | ||
/** | ||
* Internal dependencies | ||
*/ | ||
import { makeSetupFunction } from '../shared/index'; | ||
export { speak } from '../shared/index'; | ||
|
||
// Without an i18n Script Module, "Notifications" (the only localized text used in this module) | ||
// will be translated on the server and provided as script-module data. | ||
let notificationsText = 'Notifications'; | ||
try { | ||
const textContent = document.getElementById( | ||
'wp-script-module-data-@wordpress/a11y' | ||
)?.textContent; | ||
if ( textContent ) { | ||
const parsed = JSON.parse( textContent ); | ||
notificationsText = parsed?.i18n?.Notifications ?? notificationsText; | ||
} | ||
} catch {} | ||
|
||
/** | ||
* Create the live regions. | ||
* This no-op function is exported to provide compatibility with the `wp-a11y` Script. | ||
* | ||
* Filters should inject the relevant HTML on page load instead of requiring setup. | ||
*/ | ||
export const setup = makeSetupFunction( notificationsText ); | ||
|
||
setup(); | ||
export const setup = () => {}; |
File renamed without changes.
Oops, something went wrong.