mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-07 07:47:30 +09:00
parent
7d96c33414
commit
2d167f91a8
2 changed files with 20 additions and 1 deletions
|
|
@ -211,10 +211,12 @@ MarkupContainer.prototype = {
|
|||
}
|
||||
|
||||
if (this.showExpander) {
|
||||
this.elt.classList.add("expandable");
|
||||
this.expander.style.visibility = "visible";
|
||||
// Update accessibility expanded state.
|
||||
this.tagLine.setAttribute("aria-expanded", this.expanded);
|
||||
} else {
|
||||
this.elt.classList.remove("expandable");
|
||||
this.expander.style.visibility = "hidden";
|
||||
// No need for accessible expanded state indicator when expander is not
|
||||
// shown.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue