mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-27 10:35:23 +01:00
A role="navigation" should not be on <ul/> as it changes how screen readers announce them.
This commit is contained in:
parent
f911ed3522
commit
f3906c8dd8
1 changed files with 5 additions and 3 deletions
|
@ -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>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue