Code Monkey home page Code Monkey logo

test-aria's People

Contributors

katekalcevich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

test-aria's Issues

aria-landmark-roles.html: Should roles be doubled with HTML?

File: /aria-landmark-roles.html

Should ARIA roles be used here when HTML5 elements are used?

<header role="banner">
    ...
</header>

<footer role="contentinfo">
     ...
</footer>

In regards to the README advice:

No need to double up HTML and ARIA (for example,

unless you are supporting a specific browser and screen reader combination that doesn't support the landmarks you are using

landmarks

A few things about the landmarks content:

  • role=application is not a landmark.
  • "don't nest" is unclear in your rules, especially when also indicating only one can be used per page. So what are you saying don't nest within?
  • typically there should be only a single banner/contentinfo on a page, but there may be multiple header/footer elements. The rules do not distinguish between these allowances. It would be helpful to note that using multiple header/footer elements can result in bugs were multiple banner/contentinfo landmarks are exposed incorrectly.
  • rule for role=search reads oddly "Don't use on a element - put it on a parent div" is it missing a word? Per #4, it could well (and should) be used on a <form>.
  • role=region/section rule should state "requires a label to be exposed as a landmark" However, use of generic region landmarks should be cautioned against unless absolutely necessary.
  • rule for role=form is unnecessary.

Looks like some accordion advice is in tabs section

In the README the following section is in the Tabs advice:

What I've done instead for keybard interaction is:
you can tab through all accordions and see which accordion has the focus (Focus outlines are provided for buttons by browsers, as long as you haven't removed them using CSS. If you removed the outline, put it back.)
you can open a tab using the the enter key or spacebar

Is that intentional?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.