Closed dancormier closed 7 months ago
Name | Link |
---|---|
Latest commit | 6fc624b5538069ecdebd8dded579da7723cd79e3 |
Latest deploy log | https://app.netlify.com/sites/stacks/deploys/65b2dd60031af30008fd40b7 |
Deploy Preview | https://deploy-preview-1613--stacks.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Addresses STACKS-537, partially addresses A11Y-2.
This PR updates the focus styles for the button component to meet the WCAG AA requirements.
Technical notes
You'll notice that this PR achieves the focus style mainly with box-shadow:
This is because box-shadow tends to align more consistently. Additionally, a transparent outline is used to ensure that an outline doesn't render when expected but can still be rendered in forced-color modes (see https://blogs.windows.com/msedgedev/2020/09/17/styling-for-windows-high-contrast-with-new-standards-for-forced-colors/#gist105426765).