Skip to content

Commit bb07c2d

Browse files
WilcoFiersMarcy Sutton
authored andcommitted
feat: Add aria-orientation to additional roles
1 parent 9f7da56 commit bb07c2d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

lib/commons/aria/index.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ lookupTables.role = {
261261
'combobox': {
262262
type: 'composite',
263263
attributes: {
264-
allowed: ['aria-expanded', 'aria-autocomplete', 'aria-required', 'aria-activedescendant']
264+
allowed: ['aria-expanded', 'aria-autocomplete', 'aria-required', 'aria-activedescendant', 'aria-orientation']
265265
},
266266
owned: {
267267
all: ['listbox', 'textbox']
@@ -443,7 +443,7 @@ lookupTables.role = {
443443
'listbox': {
444444
type: 'composite',
445445
attributes: {
446-
allowed: ['aria-activedescendant', 'aria-multiselectable', 'aria-required', 'aria-expanded']
446+
allowed: ['aria-activedescendant', 'aria-multiselectable', 'aria-required', 'aria-expanded', 'aria-orientation']
447447
},
448448
owned: {
449449
all: ['option']
@@ -503,7 +503,7 @@ lookupTables.role = {
503503
'menu': {
504504
type: 'composite',
505505
attributes: {
506-
allowed: ['aria-activedescendant', 'aria-expanded']
506+
allowed: ['aria-activedescendant', 'aria-expanded', 'aria-orientation']
507507
},
508508
owned: {
509509
one: ['menuitem', 'menuitemradio', 'menuitemcheckbox']
@@ -515,7 +515,7 @@ lookupTables.role = {
515515
'menubar': {
516516
type: 'composite',
517517
attributes: {
518-
allowed: ['aria-activedescendant', 'aria-expanded']
518+
allowed: ['aria-activedescendant', 'aria-expanded', 'aria-orientation']
519519
},
520520
owned: null,
521521
nameFrom: ['author'],
@@ -794,7 +794,7 @@ lookupTables.role = {
794794
'tablist': {
795795
type: 'composite',
796796
attributes: {
797-
allowed: ['aria-activedescendant', 'aria-expanded', 'aria-level', 'aria-multiselectable']
797+
allowed: ['aria-activedescendant', 'aria-expanded', 'aria-level', 'aria-multiselectable', 'aria-orientation']
798798
},
799799
owned: {
800800
all: ['tab']
@@ -870,7 +870,7 @@ lookupTables.role = {
870870
'tree': {
871871
type: 'composite',
872872
attributes: {
873-
allowed: ['aria-activedescendant', 'aria-multiselectable', 'aria-required', 'aria-expanded']
873+
allowed: ['aria-activedescendant', 'aria-multiselectable', 'aria-required', 'aria-expanded', 'aria-orientation']
874874
},
875875
owned: {
876876
all: ['treeitem']
@@ -882,7 +882,7 @@ lookupTables.role = {
882882
type: 'composite',
883883
attributes: {
884884
allowed: ['aria-activedescendant', 'aria-colcount', 'aria-expanded', 'aria-level', 'aria-multiselectable',
885-
'aria-readonly', 'aria-required', 'aria-rowcount']
885+
'aria-readonly', 'aria-required', 'aria-rowcount', 'aria-orientation']
886886
},
887887
owned: {
888888
all: ['treeitem']

0 commit comments

Comments
 (0)