Giter Club home page Giter Club logo

a11y_tab_widget's People

Contributors

dermeier avatar nchan0154 avatar polarbirke avatar scottaohara avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

a11y_tab_widget's Issues

Add Feature: Open tabpanel from URL hash

If a URL contains a hash with the ID of a specific tabpanel ID, then run a check for that when determining the default opened panel.

This functionality can only work if devs setup a Tab Widget with IDs. Otherwise the autogenerated IDs are different each time...

Add Feature: Right arrow into tab panel

If a horizontal tablist allows for down arrow to navigate to the tabpanel then it would stand to reason that right arrow press should do the same for a vertical tablist.

Not a priority.

limit aria-controls use

aria-controls isn't particularly useful if a panel isn't exposed, so update the script to:

  1. have it as an optional property that defaults to not being included
  2. only populate it on the selected tab so that inactive tabs don't announce users can move to the controlled element, since they cant.

Maintain URL state (hash) for more than one tab?

When there are multiple instances of the tab widget on a page, the URL state is not able to tell them apart.

Example:

  • Two sets of tabs with "A", "B" and "CP" tabs each
  • Click on the "B" tab in the first set, then on "C" in the second one
  • Reload the page or navigate forth an back
  • "C" will be active in both tabs

Implementing this might be tricky because it would at least require unique prefixes for all tab-sets. An even better approach would be not to overwrite the URL state since this might discard state managed by other components.

Document UX of Tab Widgets

Creating this issue per the entry in the README:

FYI: More information concerning expected functionality and screen reader announcements will be linked to from here.

upgrade to v1

reminder issue to upgrade this plugin to v1 for both jquery & vanilla js versions

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.