Releases: salesforce/sa11y
Releases · salesforce/sa11y
feat(format): add exception list to filter selected results
v0.4.0-beta
Features ✨
- format: add an exception list filter to filter a11y violations
- browser-lib: add wrapper function to check a11y with option to filter violations
Documentation 📝
- docs: add lwc a11y doc link to resources
Chores 🧹
- test(wdio): refactor to extract wdio standalone setup, teardown; created #42
- refactor(common): create type alias for axe results for reuse
Version bump 📦
- @sa11y/browser-lib: 0.1.1-alpha.0 => 0.2.0-alpha.0
- @sa11y/format: 0.2.2-beta.0 => 0.3.0-beta.0
- @sa11y/common: 0.2.1-beta.0 => 0.2.2-beta.0
- @sa11y/jest: 0.1.4-beta.1 => 0.1.5-beta.0
- @sa11y/wdio: 0.1.1-alpha.1 => 0.1.2-alpha.0
- @sa11y/test-integration: 0.1.4-beta.0 => 0.1.5-beta.0 (private)
- @sa11y/test-utils: 0.2.2-beta.0 => 0.3.0-beta.0 (private)
Released to NPM: True
PRs: #44
fix: timeouts due to audio, video elements
v0.3.2-beta
Packages affected
@sa11y/jest v0.1.4-beta.0 packages/jest
@sa11y/wdio v0.1.1-alpha.0 packages/wdio
@sa11y/preset-rules v0.2.1-beta.0 packages/preset-rules
@sa11y/format v0.2.2-beta.0 packages/format
@sa11y/assert v0.1.4-beta.0 packages/assert
@sa11y/browser-lib v0.1.1-alpha.0 packages/browser-lib
@sa11y/common v0.2.1-beta.0 packages/common
@sa11y/test-utils v0.2.1-beta.0 packages/test-utils (PRIVATE)
@sa11y/test-integration v0.1.3-beta.0 packages/test-integration (PRIVATE)
Released to NPM: True
Fixes 🐛
- preset-rules: disable preloading media in axe config to fix timeout (#39)
Chores 🧹
- update to next major release of TypeScript 4.0 bringing increased build speeds and other improvements (#37)
- update to next major release of typescript-eslint/typescript-eslint containing several breaking changes (#37)
- update to patch release of axe-core 4.0.2 (#37)
- bump version of packages as they hadn't been bumped since 0.2.0-beta (#39)
- add cmd to ensure pkg versions are bumped (#39)
Refactor ♻
- Fix code to take care of the new errors from the upgraded versions (#37)
- Silencing rules only as last resort esp. in non application code (test, config etc)
- Fix how default options are processed for formatter (#37)
- Fix chained npm cmds to depend on previous exit code (#37)
- Reuse common typescript config for eslint (#37)
Documentation 📝
- Add caution notices about color contrast and headless mode (#39)
chore: update to axe v4
feat: add a browser lib to produce sa11y minified JS bundle
Packages affected
@sa11y/browser-lib v0.1.0-alpha packages/browser-lib
Released to NPM: false
Features
- browser-lib: add a new package for producing bundled minified version of sa11y (#32)
feat(wdio): add wdio package for a11y testing with browsers
@sa11y/wdio v0.1.0-alpha packages/wdio
@sa11y/preset-rules v0.2.0-beta.0 packages/preset-rules
@sa11y/format v0.2.1-beta.0 packages/format
@sa11y/assert v0.1.3-beta.0 packages/assert
@sa11y/jest v0.1.3-beta.0 packages/jest
@sa11y/common v0.2.0-beta.0 packages/common
Released to NPM: True
Features
-
wdio: add assert accessible API for WDIO (#21)
- Add a
@sa11y/wdio
package that providesassertAccessible()
,assertAccessibleSync()
APIs that can be used with WebdriverIO to check accessibility of web pages rendered in browsers. - While existing
@sa11y
packages provide support for unit testing - with virtual jsdom, this package provides testing accessibility in a real browser such as google chrome
- Add a
-
preset-rules: add a full ruleset with all rules from axe (#21)
Bug Fixes
- format: fix a11y error message to use formatted output (#21)
- format: check explicitly for undefined to allow custom formatter (#21)
- jest: fix a11y error being undefined when used with not matcher (#21), closes #18
BREAKING CHANGES
- preset-rules: align name and behavior to follow common naming conventions in terms of preset configs (#21)
- rename
extended
ruleset torecommended
- it continues to be the default and recommended
- rename
recommended
preset rule tobase
- If you are not using the preset-rules explicitly in the APIs, this change will not affect you
- But if you are using the preset-rules explicitly in your APIs, you will have to change them
- If you are using the
recommended
preset-rule rename it tobase
- If you are using the
extended
preset-rule rename it torecommended
- If you are using the
- rename
Other changes
- Update to axe v3.5.5
feat: initial release of jest, format, assert, ruleset packages
Released the following packages to npm:
@sa11y/common v0.1.0-alpha packages/common
@sa11y/preset-rules v0.1.3-alpha packages/preset-rules
@sa11y/format v0.2.0-alpha packages/format
@sa11y/assert v0.1.2-alpha packages/assert
@sa11y/jest v0.1.2-alpha packages/jest