After updating X Pro/Cornerstone, Lighthouse accessibility dropped from 100 to 96.
The failing audit is:
List items (
<li>) are not contained within<ul>,<ol>or<menu>parent elements.
The menu markup being generated is:
<ul class="x-menu ..." role="navigation">
<li class="menu-item ...">Home</li>
<li class="menu-item ...">Portfolios</li>
...
</ul>
The <li> elements are correctly inside a <ul> , but because role="navigation" is applied directly to the <ul> , Lighthouse appears to no longer recognise the parent as a list in the accessibility tree.
If I remove role="navigation" from the <ul> in DevTools, the structure is semantically correct again, although Lighthouse reloads the page and the attribute is regenerated.
This appears to have been introduced by the recent update, as the site previously scored 100 for Accessibility.
Could you confirm whether role="navigation" should be applied to the <ul> , or whether this is a regression in the menu output?
