diff --git a/UNRELEASED.md b/UNRELEASED.md index 4fdc5b6d83a..016dc9964fa 100644 --- a/UNRELEASED.md +++ b/UNRELEASED.md @@ -16,6 +16,7 @@ Use [the changelog guidelines](https://git.io/polaris-changelog-guidelines) to f ### Documentation +- Added accessibility documentation for the account connection and setting toggle components ([#970](https://github.com/Shopify/polaris-react/pull/970)) - Added accessibility documentation for the avatar component ([#973](https://github.com/Shopify/polaris-react/pull/973)) - Updated docs about App Bridge usage in AppProvider ([#945](https://github.com/Shopify/polaris-react/pull/945)) diff --git a/src/components/AccountConnection/README.md b/src/components/AccountConnection/README.md index c0b0358c2dc..d0ee745af26 100644 --- a/src/components/AccountConnection/README.md +++ b/src/components/AccountConnection/README.md @@ -166,3 +166,13 @@ class AccountConnectionExample extends React.Component { }; } ``` + +--- + +## Accessibility + + + +See accessibility guidance for the [setting toggle component](/components/actions/setting-toggle) to turn connections on and off. + + diff --git a/src/components/SettingToggle/README.md b/src/components/SettingToggle/README.md index 109a5c03b4c..ed9cbb0d3bd 100644 --- a/src/components/SettingToggle/README.md +++ b/src/components/SettingToggle/README.md @@ -115,3 +115,15 @@ class SettingToggleExample extends React.Component { ## Related components - To let merchants to connect or disconnect their store to third-party services and apps, [use the account connection component](/components/actions/account-connection) + +--- + +## Accessibility + + + +The setting toggle component is implemented as an HTML `