general: only apply accessible foldable support once (#38900)
This commit is contained in:
parent
cef6a37111
commit
9f19c507b2
|
@ -220,6 +220,9 @@ $(function() {
|
|||
return;
|
||||
}
|
||||
var $cell_title = $cell.find('> div > h2:first-child');
|
||||
if ($cell_title.attr('aria-expanded') !== undefined) { // already prepared
|
||||
return;
|
||||
}
|
||||
$cell_title.attr('tabindex', '0');
|
||||
$cell_title.attr('role', 'button');
|
||||
function set_aria_expanded() {
|
||||
|
|
Loading…
Reference in New Issue