JSPM

@instructure/ui-a11y

6.24.1-rc.7+2090d6c14
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 573
  • Score
    100M100P100Q35020F
  • License MIT

A collection of utilities and components to make UI components accessible

Package Exports

  • @instructure/ui-a11y
  • @instructure/ui-a11y/lib/AccessibleContent
  • @instructure/ui-a11y/lib/Dialog
  • @instructure/ui-a11y/lib/PresentationContent
  • @instructure/ui-a11y/lib/ScreenReaderContent
  • @instructure/ui-a11y/lib/findFocusable
  • @instructure/ui-a11y/lib/findFocusable.js
  • @instructure/ui-a11y/lib/findTabbable
  • @instructure/ui-a11y/lib/hasVisibleChildren

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@instructure/ui-a11y) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme


category: packages

ui-a11y

npm  build-status  MIT License  Code of Conduct

Deprecated Components

The ui-a11y package contains will be removed in v7.0.0. Please update your imports as follows:

Deprecated Utilities

Installation

yarn add @instructure/ui-a11y

Usage

import React from 'react'
import { Dialog } from '@instructure/ui-a11y'

const MyAccessibleContent = () => {
  return (
    <AccessibleContent alt="Alternative text for a screenreader only">
        Presentational content goes here
    </AccessibleContent>
  )
}