Fix multiple accessibility defects identified by AXE (#10606)

* Mark effects overlay canvas as aria hidden

* Ensure date separators aren't seen as focusable aria separators

* Fix

* Fix font slider not having aria label

* Add missing aria labels

* Fix settings flags setting aria-checked={null}

* Update snapshots
This commit is contained in:
Michael Telatynski 2023-04-17 17:09:45 +01:00 committed by GitHub
parent 270a26d89a
commit 1a0e5c1805
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 210 additions and 194 deletions

View file

@ -35,6 +35,8 @@ interface IProps {
// Whether the slider is disabled
disabled: boolean;
label: string;
}
const THUMB_SIZE = 2.4; // em
@ -77,6 +79,7 @@ export default class Slider extends React.Component<IProps> {
disabled={this.props.disabled}
step={this.props.step}
autoComplete="off"
aria-label={this.props.label}
/>
{selection}
</div>