Fix accessibility mismatch in version picker (WCAG 2.5.3) (#59485) · github/docs@6ceb0c0 · GitHub
Skip to content

Commit 6ceb0c0

Browse files
authored
Fix accessibility mismatch in version picker (WCAG 2.5.3) (#59485)
1 parent 18f31fa commit 6ceb0c0

3 files changed

Lines changed: 5 additions & 22 deletions

File tree

‎src/fixtures/tests/playwright-rendering.spec.ts‎

Lines changed: 4 additions & 20 deletions

‎src/tools/components/Picker.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interface Props {
1313
pickerLabel?: string
1414
dataTestId: string
1515
defaultText: string
16-
ariaLabel: string
16+
ariaLabel?: string
1717
alignment: AnchorAlignment
1818
descriptionFontSize?: number
1919
renderItem?: (item: PickerItem) => ReactNode | string

‎src/versions/components/VersionPicker.tsx‎

Lines changed: 0 additions & 1 deletion

0 commit comments

Comments
 (0)