ElementInternals: ariaDisabled プロパティ
Baseline 2023Newly available
Since October 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
ariaDisabled
は ElementInternals
インターフェイスのプロパティで、aria-disabled
属性の値を反映し、要素が知覚可能だが無効であり、編集や他の処理をすることはできないことを示します。
メモ: ElementInternals
に aria 属性を設定することで、カスタム要素に既定値を定義することができます。これらは作成者が定義した属性によって上書きされる可能性がありますが、作成者が属性を削除したり、追加しなかった場合でも確実に既定値を定義することができます。より詳しい情報は、 Accessibility Object Model explainer を参照してください。
値
例
この例では、 ariaDisabled
の値を "true" に設定しています。
js
this.internals_.ariaDisabled = "true";
仕様書
Specification |
---|
Accessible Rich Internet Applications (WAI-ARIA) # dom-ariamixin-ariadisabled |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
ariaDisabled |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.