Does compliance to WCAG 2.0 AA prevent the use of JavaScript?

后端 未结 4 2390
梦如初夏
梦如初夏 2021-02-19 09:52

Does compliance to WCAG 2.0 AA prevent the use of JavaScript?

My understanding based on Understanding Conformance is that we can still use JavaScript as long as

4条回答
  •  误落风尘
    2021-02-19 10:31

    You can use JavaScript. It is not a problem so long as all semantics are provided (name, state, and role) and you manage the focus accessible. Use ARIA when you need to provide semantics or manage focus.

提交回复
热议问题