eslint-plugin-lit-a11y
Version:
linting plugin for lit-a11y
254 lines (131 loc) • 8.75 kB
Markdown
# Change Log
## 5.1.1
### Patch Changes
- 09d34793: Prevent crash on templates which contain comments
## 5.1.0
### Minor Changes
- f9f1cb4c: Add support for href property
## 5.0.1
### Patch Changes
- 4fb007de: Make plugin bundleable
## 5.0.0
### Major Changes
- 322daeb8: Update to flat config and esm-ify
## 4.1.4
### Patch Changes
- e304436c: Makes regex for detecting custom elements match the spec closer
## 4.1.3
### Patch Changes
- 6bdc6f5d: remove axobject-query
## 4.1.2
### Patch Changes
- 325d7703: Changed context.getSourceCode to context.sourceCode with backward compatibility
## 4.1.1
### Patch Changes
- e3ac8bb9: Bump 'eslint-plugin-lit' version.
## 4.1.0
### Minor Changes
- 76a2e824: added no-aria-slot rule to prevent invalid aria- and role attributes from appearing on slots
## 4.0.0
### Major Changes
- 14e4270a: feat: new a11y rules
## 3.0.0
### Major Changes
- 935c8ffe: Drop support for Node@14
## 2.4.1
### Patch Changes
- c5a675d5: fix(deps): update dependency parse5 to v7
## 2.4.0
### Minor Changes
- 30d18829: Update dependency emoji-regex to v10
## 2.3.0
### Minor Changes
- 6525833a: Update aria-query to v5, fix switch role rules
## 2.2.3
### Patch Changes
- fc3e9317: Fix bug #2490 in scope rule
## 2.2.2
### Patch Changes
- 61e2668f: update eslint, eslint-config-airbnb-base and eslint-plugin-import
## 2.2.1
### Patch Changes
- c7997ff2: Fix bug #2466 issue in role-supports-aria-attr
## 2.2.0
### Minor Changes
- f5e728d7: Add valid-lang rule
## 2.1.0
### Minor Changes
- 45e0c17e: eslint-plugin-lit-a11y: use template-analyzer directly from lit plugin
## 2.0.0
### Major Changes
- ed2b36e8: chore: remove intl list format
- ed2b36e8: Remove `eslint` dependency (in favour of peer dependency)
## 1.1.0
### Minor Changes
- f411714e: Check tagged template literals of the package `lit` by default
### Patch Changes
- 40837d10: - use latest axe-core
- allow not required attributes in role testing
## 1.1.0-next.1
### Patch Changes
- 40837d10: - use latest axe-core
- allow not required attributes in role testing
## 1.1.0-next.0
### Minor Changes
- f411714e: Check tagged template literals of the package `lit` by default
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.0.1](https://github.com/open-wc/open-wc/compare/eslint-plugin-lit-a11y@1.0.0...eslint-plugin-lit-a11y@1.0.1) (2020-10-23)
### Bug Fixes
- **eslint-plugin-lit-a11y:** guard against placeholders ([#1941](https://github.com/open-wc/open-wc/issues/1941)) ([492b53f](https://github.com/open-wc/open-wc/commit/492b53fedb6ae7a96baa2f3a8b3a5bddcf50e2f5))
# [1.0.0](https://github.com/open-wc/open-wc/compare/eslint-plugin-lit-a11y@0.5.6...eslint-plugin-lit-a11y@1.0.0) (2020-10-23)
### Features
- **eslint-plugin-lit-a11y:** change default ([#1936](https://github.com/open-wc/open-wc/issues/1936)) ([c76ceeb](https://github.com/open-wc/open-wc/commit/c76ceeb4f21647e8e22a2b136a448cb26d850564))
### BREAKING CHANGES
- **eslint-plugin-lit-a11y:** initial release
Co-authored-by: Benny Powers <web@bennypowers.com>
## [0.5.6](https://github.com/open-wc/open-wc/compare/eslint-plugin-lit-a11y@0.5.5...eslint-plugin-lit-a11y@0.5.6) (2020-10-22)
**Note:** Version bump only for package eslint-plugin-lit-a11y
## [0.5.5](https://github.com/open-wc/open-wc/compare/eslint-plugin-lit-a11y@0.5.4...eslint-plugin-lit-a11y@0.5.5) (2020-10-21)
### Bug Fixes
- **eslint-plugin-lit-a11y:** add pkg.json links ([#1922](https://github.com/open-wc/open-wc/issues/1922)) ([364a031](https://github.com/open-wc/open-wc/commit/364a031843876d95102340c00baa44724cdbc945))
## [0.5.4](https://github.com/open-wc/open-wc/compare/eslint-plugin-lit-a11y@0.5.3...eslint-plugin-lit-a11y@0.5.4) (2020-10-21)
### Bug Fixes
- **eslint-plugin-lit-a11y:** check for tabIndex property ([#1918](https://github.com/open-wc/open-wc/issues/1918)) ([02381b3](https://github.com/open-wc/open-wc/commit/02381b38620cf7ad1ebefac721a117a47357984f))
## [0.5.3](https://github.com/open-wc/open-wc/compare/eslint-plugin-lit-a11y@0.5.2...eslint-plugin-lit-a11y@0.5.3) (2020-10-21)
### Bug Fixes
- **eslint-plugin-lit-a11y:** qualified specifiers ([#1917](https://github.com/open-wc/open-wc/issues/1917)) ([5b52a5a](https://github.com/open-wc/open-wc/commit/5b52a5a6eb73998d11d34e1062972fdc5de6ade8)), closes [#1911](https://github.com/open-wc/open-wc/issues/1911) [#1916](https://github.com/open-wc/open-wc/issues/1916)
## [0.5.2](https://github.com/open-wc/open-wc/compare/eslint-plugin-lit-a11y@0.5.1...eslint-plugin-lit-a11y@0.5.2) (2020-10-20)
**Note:** Version bump only for package eslint-plugin-lit-a11y
## [0.5.1](https://github.com/open-wc/open-wc/compare/eslint-plugin-lit-a11y@0.5.0...eslint-plugin-lit-a11y@0.5.1) (2020-10-18)
### Bug Fixes
- **eslint-plugin-lit-a11y:** fix reporting locations ([#1910](https://github.com/open-wc/open-wc/issues/1910)) ([fb8c15d](https://github.com/open-wc/open-wc/commit/fb8c15d85a8208d59a1b118542457d4bf0a9341b))
- **eslint-plugin-lit-a11y:** refactors and fixes rules ([#1906](https://github.com/open-wc/open-wc/issues/1906)) ([752ae09](https://github.com/open-wc/open-wc/commit/752ae09c7a915801942a978f56619b7af0948637))
# [0.5.0](https://github.com/open-wc/open-wc/compare/eslint-plugin-lit-a11y@0.4.2...eslint-plugin-lit-a11y@0.5.0) (2020-10-18)
### Features
- **eslint-plugin-lit-a11y:** detect lit-html ([#1908](https://github.com/open-wc/open-wc/issues/1908)) ([ea8b181](https://github.com/open-wc/open-wc/commit/ea8b181b42713a13f1a19852173f16e597399d64))
## [0.4.2](https://github.com/open-wc/open-wc/compare/eslint-plugin-lit-a11y@0.4.1...eslint-plugin-lit-a11y@0.4.2) (2020-10-18)
### Bug Fixes
- **eslint-plugin-lit-a11y:** aria-label img role ([#1899](https://github.com/open-wc/open-wc/issues/1899)) ([b22dc15](https://github.com/open-wc/open-wc/commit/b22dc155ea2d4410a94db42fdd5699f7ee9a6249))
- **eslint-plugin-lit-a11y:** revert custom placeholder logic ([#1907](https://github.com/open-wc/open-wc/issues/1907)) ([956597a](https://github.com/open-wc/open-wc/commit/956597ae1baf27032daa619c284a5d3c00a6f4fb))
## [0.4.1](https://github.com/open-wc/open-wc/compare/eslint-plugin-lit-a11y@0.4.0...eslint-plugin-lit-a11y@0.4.1) (2020-10-17)
### Bug Fixes
- **eslint-plugin-lit-a11y:** report errors on correct location ([35975e1](https://github.com/open-wc/open-wc/commit/35975e17dd5da6bb56076d83d756b4863a6346c8))
- **eslint-plugin-lit-a11y:** support member and conditional expressions ([#1890](https://github.com/open-wc/open-wc/issues/1890)) ([74db27a](https://github.com/open-wc/open-wc/commit/74db27a3661a642488e4e4fa53bfa032b2586d86))
# [0.4.0](https://github.com/open-wc/open-wc/compare/eslint-plugin-lit-a11y@0.3.1...eslint-plugin-lit-a11y@0.4.0) (2020-10-16)
### Features
- **eslint-plugin-lit-a11y:** allow only valid scopes ([#1892](https://github.com/open-wc/open-wc/issues/1892)) ([a725038](https://github.com/open-wc/open-wc/commit/a72503822ed5d9700c200ee31c24d40c82569a76))
## [0.3.1](https://github.com/open-wc/open-wc/compare/eslint-plugin-lit-a11y@0.3.0...eslint-plugin-lit-a11y@0.3.1) (2020-10-16)
**Note:** Version bump only for package eslint-plugin-lit-a11y
# [0.3.0](https://github.com/open-wc/open-wc/compare/eslint-plugin-lit-a11y@0.2.2...eslint-plugin-lit-a11y@0.3.0) (2020-10-15)
### Features
- **eslint-plugin-lit-a11y:** add heading-has-content function calls ([#1883](https://github.com/open-wc/open-wc/issues/1883)) ([fb06880](https://github.com/open-wc/open-wc/commit/fb06880a5b5b6222d18308a027d67e8bbe8e297a))
- **eslint-plugin-lit-a11y:** allow alt-text role img and presentation ([#1884](https://github.com/open-wc/open-wc/issues/1884)) ([7ce1aa4](https://github.com/open-wc/open-wc/commit/7ce1aa4dea8639177a549eddce281d4127862439))
## [0.2.2](https://github.com/open-wc/open-wc/compare/eslint-plugin-lit-a11y@0.2.0...eslint-plugin-lit-a11y@0.2.2) (2020-10-15)
**Note:** Version bump only for package eslint-plugin-lit-a11y
# [0.2.0](https://github.com/open-wc/open-wc/compare/eslint-plugin-lit-a11y@0.1.0...eslint-plugin-lit-a11y@0.2.0) (2020-10-15)
### Features
- **eslint-plugin-lit-a11y:** add click-events-have-key-events whitelist ([#1881](https://github.com/open-wc/open-wc/issues/1881)) ([a14bded](https://github.com/open-wc/open-wc/commit/a14bdedc5fdf0d3217bdff93be03cd7f673b461e))
# 0.1.0 (2020-10-14)
### Features
- add eslint-plugin-lit-a11y ([#1781](https://github.com/open-wc/open-wc/issues/1781)) ([3232d0d](https://github.com/open-wc/open-wc/commit/3232d0db5dc411fa191a9b8f74757902cde2f98a)), closes [#1871](https://github.com/open-wc/open-wc/issues/1871)