aria-expanded computed property on an element without it being present as an attribute.element.ariaExpanded and element.getAttribute("aria-expanded") both just return null - so assume they are just trying to read the non-existent attribute, rather than the computed value.