mirror of
https://github.com/maputnik/editor.git
synced 2026-11-29 05:14:20 +00:00
A role="navigation" should not be on <ul/> as it changes how screen readers announce them.
This commit is contained in:
1 parent
f911ed3522
commit
f3906c8dd8
1 file changed
+5
-3
@@ -302,12 +302,14 @@ class LayerListContainer extends React.Component {
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<ul className="maputnik-layer-list-container"
|
||||
<div
|
||||
role="navigation"
|
||||
aria-label="Layers list"
|
||||
>
|
||||
{listItems}
|
||||
</ul>
|
||||
<ul className="maputnik-layer-list-container">
|
||||
{listItems}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user