Package Exports
- @instructure/ui-a11y
- @instructure/ui-a11y/lib/components/AccessibleContent
- @instructure/ui-a11y/lib/components/FocusRegion
- @instructure/ui-a11y/lib/components/PresentationContent
- @instructure/ui-a11y/lib/components/ScreenReaderContent
- @instructure/ui-a11y/lib/utils/findTabbable
- @instructure/ui-a11y/lib/utils/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
Installation
yarn add @instructure/ui-a11yUsage
import React from 'react'
import AccessibleContent from '@instructure/ui-a11y/lib/components/AccessibleContent'
export default MyAccessibleContent = function () {
return (
<AccessibleContent alt="Alternative text for a screenreader only">
Presentational content goes here
</AccessibleContent>
)
}Components
The ui-a11y package contains the following components:
Utilities
The ui-a11y package contains the following utilities:
Contribute
See the contributing guidelines for details.