Skip to content

Releases: salesforce/sa11y

feat(format): add exception list to filter selected results

11 Nov 01:37
48cde96
Compare
Choose a tag to compare

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

28 Sep 18:28
060538d
Compare
Choose a tag to compare

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 🧹

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

22 Sep 22:53
6456815
Compare
Choose a tag to compare

Chores 🧹

  • Update to the latest major release of axe (#34)
  • Moved dependency graph from dedicated media branch to feature branch (#34)

Released to NPM: False

feat: add a browser lib to produce sa11y minified JS bundle

19 Aug 18:42
8a44543
Compare
Choose a tag to compare

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

28 Jul 22:38
1ac7486
Compare
Choose a tag to compare
@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 provides assertAccessible(), 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
  • 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 to recommended
      • it continues to be the default and recommended
    • rename recommended preset rule to base
    • 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 to base
      • If you are using the extended preset-rule rename it to recommended

Other changes

feat: initial release of jest, format, assert, ruleset packages

11 Jun 21:03
9236816
Compare
Choose a tag to compare

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

Features

  • jest: add jest accessibility matcher (#9)
  • format: add num of issues, unicode chars, jest matcher helper (#13)
  • format: sort a11y issues by impact (#13)
  • assert: add assert accessible api (#7)
  • ruleset: add recommended, extended rulesets (#3)