CircleCI
13a99cfcf2
chore: release new versions
...
- eslint-plugin-lit-a11y@1.0.1
eslint-plugin-lit-a11y@1.0.1
2020-10-23 17:33:16 +00:00
Pascal Schilp
492b53fedb
fix(eslint-plugin-lit-a11y): guard against placeholders ( #1941 )
2020-10-23 19:26:28 +02:00
CircleCI
4353c1d7b1
chore: release new versions
...
- eslint-plugin-lit-a11y@1.0.0
eslint-plugin-lit-a11y@1.0.0
2020-10-23 15:09:59 +00:00
Pascal Schilp
c76ceeb4f2
feat(eslint-plugin-lit-a11y): change default ( #1936 )
...
BREAKING CHANGE: initial release
Co-authored-by: Benny Powers <web@bennypowers.com >
2020-10-23 16:40:45 +02:00
Thomas Allmer
e374da2e95
chore: move webpack tools into the legacy repo
2020-10-22 20:03:33 +02:00
CircleCI
defb46095a
chore: release new versions
...
- eslint-plugin-lit-a11y@0.5.6
eslint-plugin-lit-a11y@0.5.6
2020-10-22 13:25:49 +00:00
Pascal Schilp
651b1284a9
chore: finishing touches before release ( #1935 )
...
* chore: finishing touches before release
* Update packages/eslint-plugin-lit-a11y/README.md
Co-authored-by: Benny Powers <bennypowers@users.noreply.github.com >
Co-authored-by: Benny Powers <bennypowers@users.noreply.github.com >
2020-10-22 15:17:12 +02:00
Thomas Allmer
5f94543182
chore: move es-dev-server into a dedicated package
2020-10-21 20:47:16 +02:00
CircleCI
79b5a076fa
chore: release new versions
...
- eslint-plugin-lit-a11y@0.5.5
eslint-plugin-lit-a11y@0.5.5
2020-10-21 14:37:15 +00:00
Pascal Schilp
364a031843
fix(eslint-plugin-lit-a11y): add pkg.json links ( #1922 )
...
* fix(eslint-plugin-lit-a11y): add pkg.json links
* chore: prettier
2020-10-21 16:26:04 +02:00
Benny Powers
9f54dc37fe
chore(eslint-plugin-lit-a11y): remove dupe block
...
somehow we ended up importing this polyfill twice
2020-10-21 16:58:54 +03:00
CircleCI
349b0f84c0
chore: release new versions
...
- eslint-plugin-lit-a11y@0.5.4
eslint-plugin-lit-a11y@0.5.4
2020-10-21 13:31:43 +00:00
koenvg
02381b3862
fix(eslint-plugin-lit-a11y): check for tabIndex property ( #1918 )
...
* fix(eslint-plugin-lit-a11y): check for tabIndex property
* style(eslint-plugin-lit-a11y): nitpicks
Co-authored-by: Benny Powers <bennypowers@users.noreply.github.com >
Co-authored-by: Pascal Schilp <pascalschilp@gmail.com >
2020-10-21 15:22:18 +02:00
CircleCI
04095fe2c6
chore: release new versions
...
- eslint-plugin-lit-a11y@0.5.3
eslint-plugin-lit-a11y@0.5.3
2020-10-21 12:47:29 +00:00
Benny Powers
5b52a5a6eb
fix(eslint-plugin-lit-a11y): qualified specifiers ( #1917 )
...
* fix(eslint-plugin-lit-a11y): qualified specifiers
also refactors rules to extend from common base
common base checks whether lit-html is imported
import check now supports namespaces and aliases
fixes #1911
fixes #1916
* refactor(eslint-plugin-lit-a11y): add TemplateAnalyzer helpers
* fix(eslint-plugin-lit-a11y): allow hash links
* docs(eslint-plugin-lit-a11y): tix fypo
thanks for the nod, @thepassle !
* refactor(eslint-plugin-lit-a11y): decruft
2020-10-21 14:37:47 +02:00
CircleCI
bb6d12970f
chore: release new versions
...
- eslint-plugin-lit-a11y@0.5.2
eslint-plugin-lit-a11y@0.5.2
2020-10-20 07:44:37 +00:00
Pascal Schilp
5ac8fb7d33
Feat(eslint-plugin-lit-a11y): check literal values ( #1915 )
...
* feat: check literal values
* chore: refactor and cleanup
* chore: ignore ts
* fix(eslint-plugin-lit-a11y): solve typing errors
* refactor(eslint-plugin-lit-a11y): function->method
templateExpressionToHtml to TemplateAnalyzer
Co-authored-by: Benny Powers <web@bennypowers.com >
2020-10-20 09:29:31 +02:00
Thomas Allmer
73c500197e
chore: move create out of the main repo
2020-10-18 21:39:16 +02:00
CircleCI
60df2b0ed6
chore: release new versions
...
- eslint-plugin-lit-a11y@0.5.1
eslint-plugin-lit-a11y@0.5.1
2020-10-18 19:04:57 +00:00
Benny Powers
752ae09c7a
fix(eslint-plugin-lit-a11y): refactors and fixes rules ( #1906 )
...
* fix(eslint-plugin-lit-a11y): aria-label img role
also modifies error message
* fix(eslint-plugin-lit-a11y): allow emoji with alt
* fix(eslint-plugin-lit-a11y): disable accessible-emoji
modern UAs are able to handle emoji, so this rule should not be enabled in `recommended`
also removes check for `alt` attr on non-image elements
* fix(eslint-plugin-lit-a11y): removes alt from img role attrs
alt attribute has no effect on non-img elements, even if they have an img role
permits images that are hidden from AOM
* fix(eslint-plugin-lit-a11y): refactors and fixes rules
- *: add rule docs url to meta.docs
- utils: refactor utils to take Element
- anchor-is-valid: error messages by id
- click-events-have-key-events: add `allowCustomElements` option
- click-events-have-key-events: schematize `allowList` option
- heading-has-content: add `customHeadingElements` option
- iframe-title: error messages by id, refactor
- img-redundant-alt: add defaults to schema
- mouse-events-have-key-events: add `allowCustomElements` option
- mouse-events-have-key-events: schematize `allowList` option
- no-autofocus: include `.autofocus` DOM property
- tabindex-no-positive: error messages by id, refactor
* chore: fix function param
Co-authored-by: thepassle <pascalschilp@gmail.com >
2020-10-18 20:55:34 +02:00
Pascal Schilp
fb8c15d85a
fix(eslint-plugin-lit-a11y): fix reporting locations ( #1910 )
2020-10-18 20:37:42 +02:00
CircleCI
2dae67329b
chore: release new versions
...
- eslint-plugin-lit-a11y@0.5.0
eslint-plugin-lit-a11y@0.5.0
2020-10-18 13:58:45 +00:00
Pascal Schilp
ea8b181b42
feat(eslint-plugin-lit-a11y): detect lit-html ( #1908 )
...
* chore: linting
* chore: add docs
* chore: prettier
* chore: works with other imports
* chore: more docs
2020-10-18 15:48:28 +02:00
CircleCI
f330bfe730
chore: release new versions
...
- eslint-plugin-lit-a11y@0.4.2
eslint-plugin-lit-a11y@0.4.2
2020-10-18 12:05:30 +00:00
Pascal Schilp
956597ae1b
fix(eslint-plugin-lit-a11y): revert custom placeholder logic ( #1907 )
...
* fix: revert custom placeholder logic
* chore: fix type
2020-10-18 13:57:27 +02:00
Benny Powers
b22dc155ea
fix(eslint-plugin-lit-a11y): aria-label img role ( #1899 )
...
* fix(eslint-plugin-lit-a11y): aria-label img role
also modifies error message
* fix(eslint-plugin-lit-a11y): allow emoji with alt
* fix(eslint-plugin-lit-a11y): disable accessible-emoji
modern UAs are able to handle emoji, so this rule should not be enabled in `recommended`
also removes check for `alt` attr on non-image elements
* fix(eslint-plugin-lit-a11y): removes alt from img role attrs
alt attribute has no effect on non-img elements, even if they have an img role
permits images that are hidden from AOM
2020-10-18 12:43:49 +02:00
CircleCI
f22697af44
chore: release new versions
...
- @open-wc/create@0.37 .0
@open-wc/create@0.37.0
2020-10-17 18:50:11 +00:00
Alessandro Vermeulen
1bcbe00c28
The code for typescript apps is stored in .ts :)
2020-10-17 20:42:22 +02:00
CircleCI
cf1c52709a
chore: release new versions
...
- eslint-plugin-lit-a11y@0.4.1
eslint-plugin-lit-a11y@0.4.1
2020-10-17 09:54:51 +00:00
Westbrook Johnson
74db27a366
fix(eslint-plugin-lit-a11y): support member and conditional expressions ( #1890 )
...
* fix(eslint-plugin-lit-a11y): support member and conditional expressions
* fix(eslint-plugin-lit-a11y): adopt "role" list from "aria-query"
* chore: fix tests
Co-authored-by: Pascal Schilp <pascalschilp@gmail.com >
2020-10-17 11:47:24 +02:00
thepassle
35975e17dd
fix(eslint-plugin-lit-a11y): report errors on correct location
2020-10-17 11:04:11 +02:00
CircleCI
2b019fd909
chore: release new versions
...
- eslint-plugin-lit-a11y@0.4.0
eslint-plugin-lit-a11y@0.4.0
2020-10-16 21:05:19 +00:00
Thiago
a72503822e
feat(eslint-plugin-lit-a11y): allow only valid scopes ( #1892 )
...
* feat(eslint-plugin-lit-a11y): allow only valid scopes
* feat(eslint-plugin-lit-a11y): allow custom elements to have any scope
* feat(eslint-plugin-lit-a11y): update error message for scope valid value
Co-authored-by: Pascal Schilp <pascalschilp@gmail.com >
* chore(eslint-plugin-lit-a11y): add test scripts
* chore: fix tests
Co-authored-by: Pascal Schilp <pascalschilp@gmail.com >
2020-10-16 22:55:36 +02:00
CircleCI
7ac9b273f6
chore: release new versions
...
- eslint-plugin-lit-a11y@0.3.1
eslint-plugin-lit-a11y@0.3.1
2020-10-16 09:13:13 +00:00
thepassle
56bdcbe292
docs: add docs for clickevents, add rules overview, cleanup
2020-10-16 11:03:36 +02:00
CircleCI
d96c307c2f
chore: release new versions
...
- eslint-plugin-lit-a11y@0.3.0
eslint-plugin-lit-a11y@0.3.0
2020-10-15 20:33:00 +00:00
Thiago
fb06880a5b
feat(eslint-plugin-lit-a11y): add heading-has-content function calls ( #1883 )
...
* feat(eslint-plugin-lit-a11y): add heading-has-content function calls
* feat(eslint-plugin-lit-a11y): add test for ara-attr-valid-value
* feat(eslint-plugin-lit-a11y): add test for ara-attr-valid-value
* feat(eslint-plugin-lit-a11y): add test for heading-has-content
* feat(eslint-plugin-lit-a11y): fix test for heading-has-content
Co-authored-by: Pascal Schilp <pascalschilp@gmail.com >
2020-10-15 22:23:19 +02:00
Thiago
7ce1aa4dea
feat(eslint-plugin-lit-a11y): allow alt-text role img and presentation ( #1884 )
...
Co-authored-by: Pascal Schilp <pascalschilp@gmail.com >
2020-10-15 22:11:44 +02:00
CircleCI
2e60a30726
chore: release new versions
...
- eslint-plugin-lit-a11y@0.2.2
eslint-plugin-lit-a11y@0.2.2
2020-10-15 19:47:38 +00:00
Pascal Schilp
adedd20f8b
chore: ally to a11y ( #1882 )
2020-10-15 21:22:25 +02:00
CircleCI
e32284b549
chore: release new versions
...
- eslint-plugin-lit-a11y@0.2.0
eslint-plugin-lit-a11y@0.2.0
2020-10-15 17:28:32 +00:00
Pascal Schilp
6b21a53901
Fix/no redundant role ( #1877 )
...
* fix: no redundant role
2020-10-15 19:14:03 +02:00
Thiago
a14bdedc5f
feat(eslint-plugin-lit-a11y): add click-events-have-key-events whitelist ( #1881 )
2020-10-15 19:02:53 +02:00
CircleCI
34ef9e392b
chore: release new versions
...
- eslint-plugin-lit-a11y@0.1.0
eslint-plugin-lit-a11y@0.1.0
2020-10-14 12:36:44 +00:00
Pascal Schilp
3232d0db5d
feat: add eslint-plugin-lit-a11y ( #1781 )
...
* feat: add eslint-plugin-lit-a11y
* feat: implement getImplicitRole
* feat: add getExplicitRole
* feat: add isHiddenFromScreenReader
* feat: implement anchor-has-content
* feat: add no-redundant-role
* feat: add scope rule
* feat: implement autocomplete-valid
* feat: implement iframe-title
* feat: implement heading-has-content
* chore: disable ts check
* feat: implement no-distracting-elements
* chore: add ts-nocheck
* feat: add attributesComparator and isInteractiveElement
* feat: implement isPresentationRole
* feat: implement aria-activedescendant-has-tabindex
* chore: add templates
* feat: implement click-events-have-key-events
* chore: fix linting (lol)
* feat: implement accessible-emoji
* feat: implement mouse-events-have-key-events
* feat: implement anchor-is-valid
* refactor: props to attrs
* feat: implement aria-attr-types
* refactor: refactor templateExpressionToHtml
* chore: update yarn.lock
* refactor/eslint-plugin-lit-a11y/types (#1871 )
* refactor(eslint-plugin-lit-a11y): add, fix types
adds 'suggestion' type to all rules
adds 'Accessibility' category to all rules
defines 'Visitor' type
defines 'is*TaggedTemplate' helpers
defines 'isAria*' helpers
updates rule template
removes instances of for...in
adds oxford comma
removes use of global isNaN
collapses nested if statements
removes eslint-disable comments in most cases
update yarn lock
* fix(eslint-plugin-lit-a11y): improve errors
makes error messages more descriptive
* docs(eslint-plugin-lit-a11y): update docs
* fix(eslint-plugin-lit-a11y): type error
skips checking if `static get properties` element is a spread
* fix(create): ignore type error from @types/eslint
* style(eslint-plugin-lit-a11y): make code "pretty"
* chore: resolve @types/estree version
* chore: prepare for release
* chore: prettier
Co-authored-by: Benny Powers <bennypowers@users.noreply.github.com >
2020-10-14 14:27:15 +02:00
CircleCI
59e56d74ca
chore: release new versions
...
- @open-wc/building-rollup@1.9.3
- @open-wc/building-utils@2.18 .3
- @open-wc/building-webpack@2.13.46
- @open-wc/demoing-storybook@2.4.5
- es-dev-server@1.57 .8
- @open-wc/karma-esm@3.0.9
- polyfills-loader@1.7.4
- @open-wc/rollup-plugin-html@1.2.5
- rollup-plugin-index-html@1.12 .8
- @open-wc/rollup-plugin-polyfills-loader@1.1.7
- @open-wc/testing-karma-bs@1.3.94
- @open-wc/testing-karma@4.0.9
- @open-wc/webpack-index-html-plugin@1.7.14
@open-wc/building-rollup@1.9.3
@open-wc/building-utils@2.18.3
@open-wc/building-webpack@2.13.46
@open-wc/demoing-storybook@2.4.5
@open-wc/karma-esm@3.0.9
@open-wc/rollup-plugin-html@1.2.5
@open-wc/rollup-plugin-polyfills-loader@1.1.7
@open-wc/testing-karma-bs@1.3.94
@open-wc/testing-karma@4.0.9
@open-wc/webpack-index-html-plugin@1.7.14
es-dev-server@1.57.8
polyfills-loader@1.7.4
rollup-plugin-index-html@1.12.8
2020-10-11 20:08:49 +00:00
Stephen Wade
b5103717d0
fix(building-utils): fix "polyfill" misspelling ( #1868 )
2020-10-11 21:58:35 +02:00
Lars den Bakker
16f4fb0e77
chore(testing-karma): release to update NPM readme
2020-10-08 20:24:52 +02:00
Lars den Bakker
a306dd6851
chore(karma-esm): release to update NPM readme
2020-10-08 20:24:19 +02:00
Lars den Bakker
2bf79871d7
chore(es-dev-server): release to update NPM readme
2020-10-08 20:23:42 +02:00