All Projects → nico3333fr → jquery-accessible-dialog-tooltip-aria

nico3333fr / jquery-accessible-dialog-tooltip-aria

Licence: MIT license
jQuery simple and accessible dialog tooltip window, using ARIA

Projects that are alternatives of or similar to jquery-accessible-dialog-tooltip-aria

van11y-accessible-simple-tooltip-aria
ES2015 accessible simple tooltip, using ARIA
Stars: ✭ 22 (+29.41%)
Mutual labels:  accessibility, aria, tooltip
A11y tooltips
Accessible Tooltip Component
Stars: ✭ 35 (+105.88%)
Mutual labels:  accessibility, aria, tooltip
jquery-accessible-simple-tooltip-aria
jQuery accessible simple tooltip window, using ARIA
Stars: ✭ 22 (+29.41%)
Mutual labels:  accessibility, aria, tooltip
a11y-accordion-tabs
A script for an accessible accordion tabs component
Stars: ✭ 50 (+194.12%)
Mutual labels:  accessibility, aria
Skin
Pure CSS framework designed & developed by eBay for a branded, e-commerce marketplace.
Stars: ✭ 126 (+641.18%)
Mutual labels:  accessibility, aria
Aria Query
Programmatic access to the ARIA specification
Stars: ✭ 129 (+658.82%)
Mutual labels:  accessibility, aria
Hint.css
A CSS only tooltip library for your lovely websites.
Stars: ✭ 8,158 (+47888.24%)
Mutual labels:  accessibility, tooltip
Creatability Components
Web components for making creative tools more accessible.
Stars: ✭ 248 (+1358.82%)
Mutual labels:  accessibility, aria
Eslint Plugin Jsx A11y
Static AST checker for a11y rules on JSX elements.
Stars: ✭ 2,609 (+15247.06%)
Mutual labels:  accessibility, aria
tailwindcss-aria-attributes
TailwindCSS variants for aria-* attributes
Stars: ✭ 92 (+441.18%)
Mutual labels:  accessibility, aria
mindpatterns
HTML Accessibility Pattern Examples
Stars: ✭ 78 (+358.82%)
Mutual labels:  accessibility, aria
aria disclosure widget
Progressively enhanced hide/show content areas with vanilla JS & appropriate ARIA attributes
Stars: ✭ 23 (+35.29%)
Mutual labels:  accessibility, aria
Accordion
Accordion module created in pure javascript & CSS. Very useful to create FAQ lists on your website.
Stars: ✭ 94 (+452.94%)
Mutual labels:  accessibility, aria
Accessible Html Content Patterns
♿️ The full HTML5 Doctor Element Index as well as common markup patterns for quick reference.
Stars: ✭ 93 (+447.06%)
Mutual labels:  accessibility, aria
Accessible modal window
Accessible modal dialogs
Stars: ✭ 196 (+1052.94%)
Mutual labels:  accessibility, aria
Van11y Accessible Tab Panel Aria
ES2015 accessible tabs panel system, using ARIA
Stars: ✭ 58 (+241.18%)
Mutual labels:  accessibility, aria
aria-devtools
Easily spot missing ARIA labels, misused ARIA roles, and incomplete keyboard support in your web applications.
Stars: ✭ 69 (+305.88%)
Mutual labels:  accessibility, aria
Accessibility Checklist
Stars: ✭ 41 (+141.18%)
Mutual labels:  accessibility, aria
aria-at
Assistive Technology ARIA Experience Assessment
Stars: ✭ 115 (+576.47%)
Mutual labels:  accessibility, aria
aria-collapsible
A lightweight, dependency-free JavaScript module for generating progressively-enhanced collapsible regions using ARIA States and Properties.
Stars: ✭ 25 (+47.06%)
Mutual labels:  accessibility, aria

jQuery Simple and Accessible Dialog Tooltip Window

This jQuery plugin provides you a shiny and accessible dialog tooltip window, using ARIA.

A presentation page and demo is here: https://a11y.nicolas-hoffmann.net/dialog-tooltip/

How it works

Basically, the scripts wraps each class="js-tooltip" into a span class="your-prefix-class-container", when you activate one, it inserts a dialog element just after the clicked element (in the container), puts the focus into it and traps focus in the dialog tooltip. When you exit it, the focus is given back to the element that opened it.

For mouse users, they can click outside the dialog tooltip to close it.

If you never activate a dialog tooltip, it won’t be anywhere in the code.

Options and attributes

Simply put class="js-tooltip" on a button to activate the script.

  • Attribute data-tooltip-prefix-class: the prefix to all style classes of the dialog tooltip.
  • Attribute data-tooltip-text: the text of your dialog tooltip (will be put into a p tag).
  • Attribute data-tooltip-content-id: the id of (hidden) content in your page that will be put into your dialog tooltip.
  • Attribute data-tooltip-title: the main title of the dialog tooltip.
  • Attribute data-tooltip-close-text: the text of the close button in your dialog tooltip.
  • Attribute data-tooltip-close-title: the title attribute of the close button in your dialog tooltip.
  • Attribute data-tooltip-close-img: a path to a valid image for the close button.

Another feature: when you click on a button that launches a modal tooltip, the class is-active is added to this button.

Enjoy.

Chuck Norris approved this

P.S: this plugin is in MIT license. It couldn't be done without the precious help of @ScreenFeedFr, @sophieschuermans, @johan_ramon, @goetsu and @romaingervois.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].