0
私はaria-expanded属性の値をjqueryで設定しています。私は私が何をすべきか混乱しています:aria-expanded属性はtrueまたは文字列 "true"を取るべきですか?
$(".dropdown-toggle").attr("aria-expanded", true);
または
$(".dropdown-toggle").attr("aria-expanded", "true");
は文字列trueまたは単にJavaScriptのデータ型として扱われるべきか?