WCAG 2.0 level A and AJAX generated content

后端 未结 1 1888
迷失自我
迷失自我 2021-01-18 09:09

I\'m having trouble finding a clear answer as to whether as site can pass for at least WCAG 2.0 level A if it uses AJAX in some way.

For example from WCAG2.0 state

1条回答
  •  醉梦人生
    2021-01-18 09:58

    To your first question, and keeping up the use of WebAIM as a great resource, it doesn't look like sites have to work without Javascript anymore, at least according to http://webaim.org/discussion/mail_thread?thread=3870.

    The consensus seems to be that a site does not have to work with JavaScript turned off as long as one of a number of criteria are met e.g. that a user agent is easily and cheaply available that does support JavaScript.

    As for using AJAX, it seems to be perfectly fine as long as all aspects of accessibility are addressed, namely

    1. The application must alert the user that a change has occurred
    2. Allow direct access to the new content
    3. Allow continued functionality of the web application

    from http://webaim.org/techniques/ajax/.

    WebAIM has a great follow up article showing ways to achieve these kinds of objectives at http://webaim.org/techniques/aria/. I would particularly look at the Dynamic Content Updates section which emphasizes the use of WAI-ARIA live regions.

    0 讨论(0)
提交回复
热议问题