(The aria-expanded value should be "true" or "false", not "invalid")

Note: Auto-testing is possible. Can be done by checking if aria-expanded attributes have valid values (true, false, undefined).