Skip to content

Commit

Permalink
corrected no-noninteractive-element-to-interactive-role.md file
Browse files Browse the repository at this point in the history
Added missing square bracket in the example.
  • Loading branch information
mahendrakulkarni177 committed Dec 3, 2018
1 parent 59240fe commit 87debc0
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions docs/rules/no-noninteractive-element-to-interactive-role.md
Expand Up @@ -50,14 +50,15 @@ The recommended options for this rule allow several common interactive roles to
```
{
'no-noninteractive-element-to-interactive-role': [
'error',
{
ul: ['listbox', 'menu', 'menubar', 'radiogroup', 'tablist', 'tree', 'treegrid'],
ol: ['listbox', 'menu', 'menubar', 'radiogroup', 'tablist', 'tree', 'treegrid'],
li: ['menuitem', 'option', 'row', 'tab', 'treeitem'],
table: ['grid'],
td: ['gridcell'],
},
'error',
{
ul: ['listbox', 'menu', 'menubar', 'radiogroup', 'tablist', 'tree', 'treegrid'],
ol: ['listbox', 'menu', 'menubar', 'radiogroup', 'tablist', 'tree', 'treegrid'],
li: ['menuitem', 'option', 'row', 'tab', 'treeitem'],
table: ['grid'],
td: ['gridcell'],
},
]
}
```

Expand Down

0 comments on commit 87debc0

Please sign in to comment.