A set of high-quality standards based web components for enterprise web applications. Part of Vaadin 20+
473
stars
83
forks
source link
Removing the row details renderer keeps row details and a11y-specific attributes in DOM #2080
Open
vursen opened 3 years ago
Currently, if the user removes the row details renderer, the grid doesn't remove row details and corresponding a11y-specific attributes from DOM.
The row details can eventually be removed from DOM by a non-related
_updateRow
call. However, there is no guarantee that it happens.Correct behavior
Removing the row details renderer should cause:
aria-expanded
attribute from all rowsaria-controls
attribute from all rowsTests
To assert removing a11y attributes from DOM, add the following tests to
accessibility.test.js#L241
:To assert removing row details from DOM, add the following tests to
renderers.test.js#L146
: