mirror of
https://github.com/maputnik/editor.git
synced 2026-08-25 06:27:25 +00:00
A role="navigation" should not be on <ul/> as it changes how screen readers announce them.
This commit is contained in:
@@ -302,12 +302,14 @@ 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"
|
||||||
>
|
>
|
||||||
{listItems}
|
<ul className="maputnik-layer-list-container">
|
||||||
</ul>
|
{listItems}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user