Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@instructure/ui-a11y-content
Advanced tools
Utility components that enhance the user experience of those that navigate the web with a screen reader or keyboard.
Utility components that help provide a good experience for users who navigate the web with a screen reader or keyboard.
The ui-a11y-content
package contains the following components:
npm install @instructure/ui-a11y-content
---
example: false
---
<AccessibleContent
alt="Alternative text for a screen reader only"
>
<Text>
Presentational content goes here
</Text>
</AccessibleContent>
---
example: false
---
<PresentationContent>
<Text>
Presentational content here
</Text>
</PresentationContent>
---
example: false
---
<ScreenReaderContent>
This content is not visible.
</ScreenReaderContent>
10.6.1 (2024-11-26)
(Experimental) It is now possible to run InstUI 10 on the same page with InstUI v9 and v8. This is useful for e.g. module federation where the host app is running InstUI v8/v9 and the guest app wants to be on the latest version. To make this work specific criteria needs to be met:
canvas
/canvasHighContrast
theme before loading the guest app.canvasThemeLocal
or canvasHighContrastThemeLocal
. These are exported from ui-themes
and do not have a variables
field and a .use()
method.InstUISettingsProvider
's theme
prop must be set otherwise it will default to a window-level themeThese limitations/caveats are necessary to not cause breaking changes, a final iteration of thing change in InstUI v11 will remove some of these limitations.
The following are deprecated and will be removed in InstUI v11:
| Deprecation | What to use instead? |
| ------------------------------------------ | -------------------------------------------------------------------------------------------------------- |
| canvas.use()
, canvasHighContrast.use()
| Wrap all your application roots in <InstUISettingsProvider>
|
| variables
field on theme objects | Use the fields from the object above, e.g. use canvas.borders
instead of canvas.variables.borders
|
| @instructure/theme-registry
package | This added the deprecated functions above. Wrap all your application roots in <InstUISettingsProvider>
|
FAQs
Utility components that enhance the user experience of those that navigate the web with a screen reader or keyboard.
The npm package @instructure/ui-a11y-content receives a total of 3,779 weekly downloads. As such, @instructure/ui-a11y-content popularity was classified as popular.
We found that @instructure/ui-a11y-content demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.