Fix missing region around keyboard support notes

This commit is contained in:
Tessa Kelly 2022-04-14 14:16:10 -07:00
parent 47e57c5594
commit b642b14b99
2 changed files with 4 additions and 8 deletions

View File

@ -70,18 +70,12 @@ describe('UI tests', function () {
}
const skippedRules = {
'Accordion': ['heading-order', 'region'],
'Checkbox': ['region'],
'Accordion': ['heading-order'],
'Loading': ['color-contrast'],
'Menu': ['region'],
'Modal': ['region'],
'Message': ['region'],
'Page': ['color-contrast', 'select-name'],
'RadioButton': ['duplicate-id', 'region'],
'SegmentedControl': ['region'],
'RadioButton': ['duplicate-id'],
'Select': ['label'],
'Switch': ['aria-allowed-attr'],
'Tabs': ['region'],
}
const specialProcessing = {

View File

@ -39,6 +39,8 @@ view keyboardSupport =
]
(List.map viewKeyboardActions keyboardSupport)
]
|> List.singleton
|> aside []
viewKeyboardActions : KeyboardSupport -> Html msg