aria-expanded,aria-hidden到底做什么用?

aria-expanded表示展开状态。默认为undefined, 表示当前展开状态未知。其它可选值:true表示元素是展开的;false表示元素不是展开的。

aria-hidden字符串。可选值为true和false,true表示元素隐藏(不可见),false表示元素可见。

原文地址:https://www.cnblogs.com/powerlx/p/4828514.html