Open TatuLund opened 1 year ago
Ideas of workaround with JavaScript call
grid.$.scroller.querySelectorAll("tr[aria-expanded='true']").forEach(tr => tr.children[0].setAttribute('aria-expanded','true'));
grid.$.scroller.querySelectorAll("tr[aria-expanded='false']").forEach(tr => tr.children[0].setAttribute('aria-expanded','false'));
What is the problem?
TreeGrid expanded/collapsed status is not announced by NVDA. This is because the "aria-expanded" attribute is set on tr-element, however this is not supported by NVDA, which requires the "aria-expanded" to be in the td-element's in order to be announced.
Browsers
Screen Readers