-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Header] Add hidden live region to announce when the page title changes. #10958
Conversation
/snapit |
🫰✨ Thanks @mrcthms! Your snapshots have been published to npm. Test the snapshots by updating your yarn add @shopify/polaris@0.0.0-snapshot-release-20231011161219 yarn add @shopify/polaris-tokens@0.0.0-snapshot-release-20231011161219 yarn add @shopify/stylelint-polaris@0.0.0-snapshot-release-20231011161219 |
6386a1b
to
18b37f8
Compare
4ccf9e0
to
9dd30e3
Compare
/snapit |
🫰✨ Thanks @mrcthms! Your snapshots have been published to npm. Test the snapshots by updating your yarn add @shopify/polaris-icons@0.0.0-snapshot-release-20231107144602 yarn add @shopify/polaris-migrator@0.0.0-snapshot-release-20231107144602 yarn add @shopify/polaris@0.0.0-snapshot-release-20231107144602 yarn add @shopify/polaris-tokens@0.0.0-snapshot-release-20231107144602 yarn add @shopify/stylelint-polaris@0.0.0-snapshot-release-20231107144602 |
/snapit |
🫰✨ Thanks @mrcthms! Your snapshots have been published to npm. Test the snapshots by updating your yarn add @shopify/polaris-icons@0.0.0-snapshot-release-20231107151222 yarn add @shopify/polaris-migrator@0.0.0-snapshot-release-20231107151222 yarn add @shopify/polaris@0.0.0-snapshot-release-20231107151222 yarn add @shopify/polaris-tokens@0.0.0-snapshot-release-20231107151222 yarn add @shopify/stylelint-polaris@0.0.0-snapshot-release-20231107151222 |
/snapit |
🫰✨ Thanks @mrcthms! Your snapshots have been published to npm. Test the snapshots by updating your yarn add @shopify/polaris-icons@0.0.0-snapshot-release-20231108143522 yarn add @shopify/polaris-migrator@0.0.0-snapshot-release-20231108143522 yarn add @shopify/polaris@0.0.0-snapshot-release-20231108143522 yarn add @shopify/polaris-tokens@0.0.0-snapshot-release-20231108143522 yarn add @shopify/stylelint-polaris@0.0.0-snapshot-release-20231108143522 |
62359db
to
9283526
Compare
/snapit |
🫰✨ Thanks @mrcthms! Your snapshots have been published to npm. Test the snapshots by updating your yarn add @shopify/polaris-icons@0.0.0-snapshot-release-20231122095453 yarn add @shopify/polaris-migrator@0.0.0-snapshot-release-20231122095453 yarn add @shopify/polaris@0.0.0-snapshot-release-20231122095453 yarn add @shopify/polaris-tokens@0.0.0-snapshot-release-20231122095453 yarn add @shopify/stylelint-polaris@0.0.0-snapshot-release-20231122095453 |
/snapit |
🫰✨ Thanks @chloerice! Your snapshots have been published to npm. Test the snapshots by updating your yarn add @shopify/polaris-icons@0.0.0-snapshot-release-20231212172558 yarn add @shopify/polaris-migrator@0.0.0-snapshot-release-20231212172558 yarn add @shopify/polaris@0.0.0-snapshot-release-20231212172558 yarn add @shopify/polaris-tokens@0.0.0-snapshot-release-20231212172558 yarn add @shopify/stylelint-polaris@0.0.0-snapshot-release-20231212172558 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Chloe Rice <chloerice@users.noreply.github.com>
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @shopify/polaris@12.5.0 ### Minor Changes - [#11275](#11275) [`4a7e090bc`](4a7e090) Thanks [@yurm04](https://github.com/yurm04)! - Updated semantic tokens `fill-info-secondary`, `text-info`, `fill-success-secondary`, `fill-caution-secondary`, `fill-critical-secondary`. - [#10958](#10958) [`5c183e0e1`](5c183e0) Thanks [@mrcthms](https://github.com/mrcthms)! - Added a live region to the `Page` `Header` to announce the `title` after navigation changes ### Patch Changes - [#11338](#11338) [`4ddba49c4`](4ddba49) Thanks [@alex-page](https://github.com/alex-page)! - `<Toast>` Fix icon color to properly inherit the parent color - Updated dependencies \[[`4a7e090bc`](4a7e090)]: - @shopify/polaris-tokens@8.4.0 ## @shopify/polaris-tokens@8.4.0 ### Minor Changes - [#11275](#11275) [`4a7e090bc`](4a7e090) Thanks [@yurm04](https://github.com/yurm04)! - Updated semantic tokens `fill-info-secondary`, `text-info`, `fill-success-secondary`, `fill-caution-secondary`, `fill-critical-secondary`. ## @shopify/polaris-migrator@0.26.6 ### Patch Changes - Updated dependencies \[[`4a7e090bc`](4a7e090)]: - @shopify/polaris-tokens@8.4.0 - @shopify/stylelint-polaris@15.0.6 ## @shopify/stylelint-polaris@15.0.6 ### Patch Changes - Updated dependencies \[[`4a7e090bc`](4a7e090)]: - @shopify/polaris-tokens@8.4.0 ## polaris-for-vscode@0.9.2 ### Patch Changes - Updated dependencies \[[`4a7e090bc`](4a7e090)]: - @shopify/polaris-tokens@8.4.0 ## polaris.shopify.com@0.61.3 ### Patch Changes - [#11334](#11334) [`ebff4315b`](ebff431) Thanks [@sarahill](https://github.com/sarahill)! - Added color token documentation - Updated dependencies \[[`4ddba49c4`](4ddba49), [`4a7e090bc`](4a7e090), [`5c183e0e1`](5c183e0)]: - @shopify/polaris@12.5.0 - @shopify/polaris-tokens@8.4.0 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…es. (Shopify#10958) ### WHY are these changes introduced? Relates to Shopify/web#101295 Merchants using a screen reader have no idea when pages change, so this PR adds a hidden live element which will announce to the merchant the page title followed by "This page is ready". ### How to 🎩 🖥 [Local development instructions](https://github.com/Shopify/polaris/blob/main/README.md#local-development) 🗒 [General tophatting guidelines](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md) 📄 [Changelog guidelines](https://github.com/Shopify/polaris/blob/main/.github/CONTRIBUTING.md#changelog) </details> ### 🎩 checklist - [x] Tested on [mobile](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md#cross-browser-testing) - [x] Tested on [multiple browsers](https://help.shopify.com/en/manual/shopify-admin/supported-browsers) - [x] Tested for [accessibility](https://github.com/Shopify/polaris/blob/main/documentation/Accessibility%20testing.md) - [x] Updated the component's `README.md` with documentation changes - [x] [Tophatted documentation](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting%20documentation.md) changes in the style guide --------- Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com> Co-authored-by: Chloe Rice <chloerice@users.noreply.github.com>
WHY are these changes introduced?
Relates to https://github.com/Shopify/web/issues/101295
Merchants using a screen reader have no idea when pages change, so this PR adds a hidden live element which will announce to the merchant the page title followed by "This page is ready".
How to 🎩
🖥 Local development instructions
🗒 General tophatting guidelines
📄 Changelog guidelines
🎩 checklist
README.md
with documentation changes