[add] More role to component mappings

This commit is contained in:
Nicolas Gallagher
2021-02-05 15:54:56 -08:00
parent 7e70b924ec
commit d6d28a4886
@@ -12,15 +12,22 @@ import propsToAriaRole from './propsToAriaRole';
const roleComponents = {
article: 'article',
banner: 'header',
blockquote: 'blockquote',
code: 'code',
complementary: 'aside',
contentinfo: 'footer',
deletion: 'del',
emphasis: 'em',
figure: 'figure',
insertion: 'ins',
form: 'form',
link: 'a',
list: 'ul',
listitem: 'li',
main: 'main',
navigation: 'nav',
region: 'section'
region: 'section',
strong: 'strong'
};
const emptyObject = {};