A role="navigation" should not be on <ul/> as it changes how screen readers announce them.

This commit is contained in:
orangemug 2020-06-10 10:25:56 +01:00
parent f911ed3522
commit f3906c8dd8

View file

@ -302,13 +302,15 @@ class LayerListContainer extends React.Component {
</div> </div>
</div> </div>
</header> </header>
<ul className="maputnik-layer-list-container" <div
role="navigation" role="navigation"
aria-label="Layers list" aria-label="Layers list"
> >
<ul className="maputnik-layer-list-container">
{listItems} {listItems}
</ul> </ul>
</div> </div>
</div>
} }
} }