Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@github/axe-github
Advanced tools
Custom rules and configuration recommendations for the `axe-core` library for GitHub projects
Custom rules and configuration recommendations for the axe-core
library for GitHub projects.
These are the custom rules contained in this package:
aria-attribute-is-valid
autofocus-in-dialog
avoid-both-disabled-and-aria-disabled
empty-summary
menuitem-should-be-interactive
nested-forms
redundant-aria-label-aria-labelledby
submit-reset-button-must-be-in-form
We recommend running axe-core
defaults.
import axe from 'axe-core'
import customRules from '@github/axe-github'
axe.configure(customRules)
axe.run(...)
For the custom rules in this library, their associated check functions are not serializable to a Playwright page. To configure axe, you'll need to load and evaluate configure-browser.ts
within the page context. Axe should be loaded on the page before configuring.
const configSrc = fs.readFileSync(
require.resolve('@github/axe-github/configure-browser'),
'utf8'
)
page.evaluate((configSrc) => {
window.eval(configSrc)
}, configSrc)
FAQs
Custom rules and configuration recommendations for the `axe-core` library for GitHub projects
The npm package @github/axe-github receives a total of 26,589 weekly downloads. As such, @github/axe-github popularity was classified as popular.
We found that @github/axe-github 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.