Skip to content

Commit

Permalink
feat: Add aria-orientation to additional roles
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoFiers authored and Marcy Sutton committed Aug 9, 2017
1 parent 9f7da56 commit bb07c2d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/commons/aria/index.js
Expand Up @@ -261,7 +261,7 @@ lookupTables.role = {
'combobox': {
type: 'composite',
attributes: {
allowed: ['aria-expanded', 'aria-autocomplete', 'aria-required', 'aria-activedescendant']
allowed: ['aria-expanded', 'aria-autocomplete', 'aria-required', 'aria-activedescendant', 'aria-orientation']
},
owned: {
all: ['listbox', 'textbox']
Expand Down Expand Up @@ -443,7 +443,7 @@ lookupTables.role = {
'listbox': {
type: 'composite',
attributes: {
allowed: ['aria-activedescendant', 'aria-multiselectable', 'aria-required', 'aria-expanded']
allowed: ['aria-activedescendant', 'aria-multiselectable', 'aria-required', 'aria-expanded', 'aria-orientation']
},
owned: {
all: ['option']
Expand Down Expand Up @@ -503,7 +503,7 @@ lookupTables.role = {
'menu': {
type: 'composite',
attributes: {
allowed: ['aria-activedescendant', 'aria-expanded']
allowed: ['aria-activedescendant', 'aria-expanded', 'aria-orientation']
},
owned: {
one: ['menuitem', 'menuitemradio', 'menuitemcheckbox']
Expand All @@ -515,7 +515,7 @@ lookupTables.role = {
'menubar': {
type: 'composite',
attributes: {
allowed: ['aria-activedescendant', 'aria-expanded']
allowed: ['aria-activedescendant', 'aria-expanded', 'aria-orientation']
},
owned: null,
nameFrom: ['author'],
Expand Down Expand Up @@ -794,7 +794,7 @@ lookupTables.role = {
'tablist': {
type: 'composite',
attributes: {
allowed: ['aria-activedescendant', 'aria-expanded', 'aria-level', 'aria-multiselectable']
allowed: ['aria-activedescendant', 'aria-expanded', 'aria-level', 'aria-multiselectable', 'aria-orientation']
},
owned: {
all: ['tab']
Expand Down Expand Up @@ -870,7 +870,7 @@ lookupTables.role = {
'tree': {
type: 'composite',
attributes: {
allowed: ['aria-activedescendant', 'aria-multiselectable', 'aria-required', 'aria-expanded']
allowed: ['aria-activedescendant', 'aria-multiselectable', 'aria-required', 'aria-expanded', 'aria-orientation']
},
owned: {
all: ['treeitem']
Expand All @@ -882,7 +882,7 @@ lookupTables.role = {
type: 'composite',
attributes: {
allowed: ['aria-activedescendant', 'aria-colcount', 'aria-expanded', 'aria-level', 'aria-multiselectable',
'aria-readonly', 'aria-required', 'aria-rowcount']
'aria-readonly', 'aria-required', 'aria-rowcount', 'aria-orientation']
},
owned: {
all: ['treeitem']
Expand Down

0 comments on commit bb07c2d

Please sign in to comment.