Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIA R65: accept different border as focus indicator #819

Merged
merged 3 commits into from
Jun 1, 2021

Conversation

Jym77
Copy link
Contributor

@Jym77 Jym77 commented May 28, 2021

Resolves #738

@Jym77 Jym77 added the patch Backwards-compatible change that doesn't touch public API label May 28, 2021
@Jym77 Jym77 self-assigned this May 28, 2021
@Jym77 Jym77 requested a review from kasperisager as a code owner May 28, 2021 13:42
@Jym77 Jym77 mentioned this pull request May 28, 2021
@Jym77 Jym77 merged commit 3b282b6 into develop Jun 1, 2021
@Jym77 Jym77 deleted the sia-r65-accept-border-color branch June 1, 2021 07:20
Jym77 added a commit that referenced this pull request Jun 14, 2021
* SIA R3: add test (#792)
* SIA R4: test added (#793)
* SIA R5: add test (#794)
* R6 test added (#795)
* SIA-R8: Added tests (#806)
* Add basic tests for R11 (#770)
* SIA R12: Add Test (#800)
* SIA R17: add test (#791)
* R18 add test (#803)
* SIA-R19: Add test (#807)
* Test for SIA-R20 added
* Add tests for R42

* Remove second expectation from R62 (#772)
* SIA R62: accept different font weight (#779)

* Implement pseudo classes equality (#773)
* Add equals() and toString() to functional pseudo-classes and elements

* Name computation: skip step 1 when descending (#778)
* Accessible name: reject whitespace descendants (#831)

* Extended diagnostic for R14 (#786)
* R16 extended diagnostic (#804)
* R62 extended diagnostic (#801)

* Fix background-size (#788)
* Support text-decoration-thickness (#817)
* Support `font-variant` CSS property (#821)

* Assume no background on size (#789)

* Fix hasRole to pick the role from the accessible node (#805)

* Increase Nodejs heap size (#818)

* SIA R65: accept different border as focus indicator (#819)

* Implement SIA R56 (#829)

Co-authored-by: elenamongelli <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kasper Isager <[email protected]>
Jym77 added a commit that referenced this pull request Jun 17, 2021
* Remove duplicate test on border-style
* Accept difference in border-* as focus indicator
* Add some tests
elenamongelli added a commit that referenced this pull request Jul 7, 2021
* Add basic tests for R11 (#770)

* Remove second expectation from R62 (#772)

* Implement pseudo classes equality (#773)

* Add toString() to Nth
* Add equals() and toString() to functional pseudo-classes and elements

* Name computation: skip step 1 when descending (#778)

* Add failing example
* Skip step 1 when descending

* SIA R62: accept different font weight (#779)

* Add failing example
* Accept font weight difference with container as good for SIA-R62

* Extended diagnostic for R14 (#786)

* Add label and name in Diagnostic for R14
* Add tests for R42

* Fix background size (#788)

* Add test cases for `background-size`
* Accept percentages and two values for background-size
* Use Tuple to store dimensions in background-size

* Assume no background on size (#789)

* Bail out of background colour computation when encountering a background-size

* SIA R17: add test (#791)

* Create rule.spec.tsx

* sia-r17 added test

* Apply suggestions from code review

Co-authored-by: Jean-Yves Moyen <[email protected]>

Co-authored-by: Jean-Yves Moyen <[email protected]>

* SIA R4: test added (#793)

* SIA R3: add test (#792)

* Sia r3 testing added

* Apply suggestions from code review

Co-authored-by: Jean-Yves Moyen <[email protected]>

Co-authored-by: Jean-Yves Moyen <[email protected]>

* R6 test added (#795)

* Run prettier

* Add --immutable flag to install instruction, add intructions for running tests

* Simplify double negative

* SIA R5: add test (#794)

* Test r5 added

* Apply suggestions from code review

Co-authored-by: Jean-Yves Moyen <[email protected]>

* variable const target changed to html

Co-authored-by: Jean-Yves Moyen <[email protected]>

* SIA R12: Add Test (#800)

* Pass tests for R12 implemented, starting with failed

* Update rule.spec.tsx

* Test rule 12 finished

* Apply suggestions from code review

Co-authored-by: Jean-Yves Moyen <[email protected]>

* Text sintax improved

Co-authored-by: Jean-Yves Moyen <[email protected]>

* Fix hasRole to pick the role from the accessible node (#805)

* Clean up

* R18 add test (#803)

* Bump actions/create-release from 1 to 1.1.4 (#802)

Bumps [actions/create-release](https://github.com/actions/create-release) from 1 to 1.1.4.
- [Release notes](https://github.com/actions/create-release/releases)
- [Commits](actions/create-release@v1...v1.1.4)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* SIA R18: Added test

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jean-Yves Moyen <[email protected]>

* SIA-R19: Add test (#807)

* Test for R19 Added

* Added test for rule 19

* Apply suggestions from code review

Co-authored-by: Jean-Yves Moyen <[email protected]>

Co-authored-by: Jean-Yves Moyen <[email protected]>

* SIA-R8: Added tests (#806)

* Added test to Rule 8

* Apply suggestions from code review

Co-authored-by: Jean-Yves Moyen <[email protected]>

Co-authored-by: Jean-Yves Moyen <[email protected]>

* R16 extended diagnostic (#804)

* Set role name in extended diagnostic

* Required attributes added in rule and test

* Extended diagnostic added

* Apply suggestions from code review

Co-authored-by: Jean-Yves Moyen <[email protected]>

* Correctly send required attributes to diagnostic

* Structure diagnostic JSON a bit

Co-authored-by: Jean-Yves Moyen <[email protected]>

* Clean up test descriptions a bit

* Use n-ary and to streamline code

* R62 extended diagnostic (#801)

* Expanded Diagnostic added for R62, test updated as well
* Reduce computation in expected values
* Clean up and streamline

* Send shorthands for border

* Avoid sending styles that are equals to initial

* Avoid sending styles that are equals to initial

* Send shorthands for outline

* Send shorthand for text-decoration

* Support text-decoration-thickness (#817)

* Support text-decoration-thickness
* Send text-decoration-thickness in extended diagnostic of R62

* Remove unused imports

* Increase Nodejs heap size (#818)

* SIA R65: accept different border as focus indicator (#819)

* Remove duplicate test on border-style
* Accept difference in border-* as focus indicator
* Add some tests

* Remove 'found' which is not used by frontend

* Fix serialisation of outline

* Heap size problem and investigation. (#822)

* Double heap size

* Support `font-variant` CSS property (#821)

* Support font-variant-ligatures
* Support font-variant-position
* Support font-variant-caps
* Support font-variant-numeric
* Support font-variant-east-asian
* Support font-variant
* Support font-variant longhands in font shorthand
* Add some test for font-variant

* Test for SIA-R20 added

* Rule 54 is added, tests need to be completed

* Update rule.ts

* Update rule.spec.tsx

* Clean up

* Tests improved and finalized

* Update tsconfig.json

* Add --immutable flag to install instruction, add intructions for running tests

* R16 extended diagnostic (#804)

* Set role name in extended diagnostic

* Required attributes added in rule and test

* Extended diagnostic added

* Apply suggestions from code review

Co-authored-by: Jean-Yves Moyen <[email protected]>

* Correctly send required attributes to diagnostic

* Structure diagnostic JSON a bit

Co-authored-by: Jean-Yves Moyen <[email protected]>

* Avoid sending styles that are equals to initial

* Send shorthand for text-decoration

* Support text-decoration-thickness (#817)

* Support text-decoration-thickness
* Send text-decoration-thickness in extended diagnostic of R62

* Rule 54 is added, tests need to be completed

* Update rule.ts

* Update rule.spec.tsx

* Tests improved and finalized

* Clean up

* Clean up

* Clean up

* Remove unused imports

* Update packages/alfa-rules/src/sia-r54/rule.ts

Co-authored-by: Jean-Yves Moyen <[email protected]>

* Update packages/alfa-rules/src/sia-r54/rule.ts

Co-authored-by: Jean-Yves Moyen <[email protected]>

* Update packages/alfa-rules/test/sia-r54/rule.spec.tsx

Co-authored-by: Jean-Yves Moyen <[email protected]>

* Update packages/alfa-rules/test/sia-r54/rule.spec.tsx

Co-authored-by: Jean-Yves Moyen <[email protected]>

* Update packages/alfa-rules/test/sia-r54/rule.spec.tsx

Co-authored-by: Jean-Yves Moyen <[email protected]>

* Update packages/alfa-rules/test/sia-r54/rule.spec.tsx

Co-authored-by: Jean-Yves Moyen <[email protected]>

* Update packages/alfa-rules/test/sia-r54/rule.spec.tsx

Co-authored-by: Jean-Yves Moyen <[email protected]>

* Update packages/alfa-rules/test/sia-r54/rule.spec.tsx

Co-authored-by: Jean-Yves Moyen <[email protected]>

* Update rule.ts

* Comments have been implemented

Co-authored-by: Jean-Yves Moyen <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Backwards-compatible change that doesn't touch public API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant