Coder Social home page Coder Social logo

jgarber623 / aria-collapsible Goto Github PK

View Code? Open in Web Editor NEW
58.0 3.0 2.0 591 KB

A dependency-free Web Component that generates progressively-enhanced collapsible regions using ARIA States and Properties.

Home Page: https://www.npmjs.com/package/@jgarber/aria-collapsible

License: MIT License

JavaScript 27.62% HTML 57.55% CSS 14.83%
accessibility a11y aria custom-elements customelements web-components webcomponents

aria-collapsible's Introduction

Hello, world! πŸ‘‹πŸ»

πŸ›  Projects

πŸ’Ž Ruby Gems

🧩 Web Components

🎈 Eleventy

πŸ“¦ JavaScript

  • CashCash – A very small DOM library inspired by jQuery.
  • RadioRadio – A very small JavaScript PubSub library.
  • RouterRouter – A very small JavaScript routing library extracted from Backbone’s Router.
  • TemplateTemplate – A very small JavaScript <template> manipulation library.

🌎 Websites

πŸ“‘ Feeds

  • nasa-apod – A fuller feed of content from NASA's Astronomy Picture of the Day website.
  • nasa-iotd – A feed of content from NASA's Image of the Day website.

πŸ› οΈ Reusable Configuration and Templates

🧑 IndieWeb Projects

I’ve been involved with the IndieWeb community since 2013. In that time, I’ve created (or contributed to) a few websites and tools.

πŸ’Ž Ruby Gems

🌎 Websites

  • indieweb-endpoints.cc – Discover a URL’s IndieAuth, Micropub, Microsub, and Webmention endpoints.
  • micromicro.cc – Extract microformats2-encoded data from a webpage.
  • rel-me.cc – Discover a URL’s published rel="me" links.

πŸ€·πŸ»β€β™‚οΈ Miscellaneous

aria-collapsible's People

Contributors

dependabot[bot] avatar jgarber623 avatar zegnat 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  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

aria-collapsible's Issues

Update examples based on expert feedback

See the conversation here with feedback from Adrian Roselli. Their article on disclosure widgets recommends:

Ensure the disclosed content immediately follows the control in the DOM. For screen reader users this allows them to continue reading without the need to hunt for the content. If the disclosed content includes interactive controls (tab stops), this allows keyboard users to quickly move to those controls.

As linked from the article, the WAI-ARIA Authoring Practices 1.1 site has some examples here: disclosure patterns

So, probably best to remove the "Toggle Notes" example as it doesn't conform well to user expectations or AT capabilities without more work.

Make self-initing?

Might be nice if the init() wasn't necessary and the act of creating a new instance of Collapsible did the work.

Keyboard Nav: Arrows

I like what you're doing here, but have a concern.

Wouldn't one expect to tab to the Menu button and then use up & down arrows to traverse the list?

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.