
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
@gov.au/skip-link
Advanced tools
Provide skip links to navigation and content.
yarn add @gov.au/skip-link
npm install @gov.au/skip-link
Usage:
import AUskipLink from './skip-link.js';
<AUskipLink links={[
{
link: '#nav',
text: 'Skip to navigation',
},
{
link: '#content',
text: 'Skip to content',
},
]} />
All props:
<AUskipLink
ariaLabel="skip links navigation" {/* Aria-label attribute on the root element */}
links={[ {/* All links inside a neat array */}
{
link: '#nav', {/* The href link of this link */}
text: 'Skip to navigation', {/* The text of the link */}
onClick={ () => {} } {/* A function to execute when the link is clicked, optional */},
},
]},
/>
(💡 additional props are spread onto the component)
For more details have a look at the usage example.
skip-link
└─ core
The visual test: https://auds.service.gov.au/packages/skip-link/tests/site/
Fragment
React importtext-decoration-skip
property to text-decoration-skip-ink
Copyright (c) Commonwealth of Australia. Licensed under MIT.
FAQs
Provide skip links to navigation and content.
We found that @gov.au/skip-link demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.