Giter VIP home page Giter VIP logo

accessible_tablist_basics_screenreadability's Introduction

Accessibility :: TabList Basics - Screen Readability

requirements:

Please note that javascript is required to actually make the tab function as a tab BUT the exercise is really just for SR to read out that 1) which tab you are on 2) which tab content you are reading. For that you have no need of javascript.

files:

authoratative reference:

notes:

I believe the changes provided in tablist_final_code.html are what is likely wanted. As I was putting this together I remembered a discussion around the value of using aria-controls attribute on the elements given role="tab" ... where tab navigation was done in a manner where that aria-controls attribute is never truly leveraged. In those cases it appeared that aria-labelledby attribute on the role="tabpanel" attributed element was enough to get screen readers to consistenly derive and declare the label/text provided on the tab item who's id(s) are passed in as the argument value. I have found an old comment in notes that stated "We have reason to believe there might be benefit in leaving this attribute absent from the relevent code with this approach."

I believe this observation had some sort of merit, but I did not find any reference captured that pointed to why this was explored or arrived at, and I honestly don't remember. I may extend this example to demonstrate a version with the aria-controls attribute removed. If I do this, these should be considered experiments, as it looks like current examples at the sites I consider authoratative source still keep it in place...so I will assume that is the correct and desired pattern for this exercise.

accessible_tablist_basics_screenreadability's People

Contributors

photusenigma avatar

Watchers

 avatar

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.