Skip to content

Commit

Permalink
chore(repo): Update main-4.x (#2118)
Browse files Browse the repository at this point in the history
* Bump braces from 3.0.2 to 3.0.3 in /accessibility-checker-extension

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

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

* Starter project

* Basic config files

* Config starter

* Process config files

* Report signs of life

* First report

* Baselines

* Scan summaries

* Add jar build

* Java test suite

* Add java test to PRs

* Make headless

* Git chromedriver

* debug

* Add env

* Chrome driver dir

* headless new

* debug

* debug

* Debug

* Set bin path

* Fix test

* Output progress

* change path

* Metrics and copyright

* Don't record our own tests

* Javadoc updates

* Basic javadoc cleanup

* Test build

* yaml syntax

* working directory

* Generate pom

* package write

* switch token

* Generate pom

* Wrong gradle?

* creds

* Add boilerplate

* Move files into equalaccess sub namespace

* Change boilerplate dependency version

* Flip expected, actual

* More isolation of selenium dependency

* CSV report / memory improvements

* A minimal issue params to the help urls

* Tighten dependencies, IOException

* Tweak dependencies to not include selenium

* Do all of the 'pass' processing in the page context

* add test cases and update rule logic

* Do counting and "pass" filtering in the checking context

* typescript

* Wrong variable

* Fix counting

* Typescript bug

* init counts

* fix count

* Handle large result

* Debug

* update the rule and the test case result #1958

* adding id to link in reportTreeGrid

* stop propagation of containing div in reportTreeGrid

* Fix cypress baseline

* Bump axios from 1.7.3 to 1.7.4 in /rule-server (#1991)

Bumps [axios](https://github.com/axios/axios) from 1.7.3 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.7.3...v1.7.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

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

* Bump axios from 1.6.8 to 1.7.4 in /accessibility-checker-extension/test (#1990)

Bumps [axios](https://github.com/axios/axios) from 1.6.8 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.6.8...v1.7.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ErickR <[email protected]>

* Bump micromatch from 4.0.7 to 4.0.8 in /report-react

Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.7 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/4.0.8/CHANGELOG.md)
- [Commits](micromatch/micromatch@4.0.7...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

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

* update the rules #1958

* update the img_alt_null rule #1958

* update the baselines #1958

* update the baselines #1958

* update the help reference #1958

* Bump axios from 1.6.2 to 1.7.5 in /cypress-accessibility-checker

Bumps [axios](https://github.com/axios/axios) from 1.6.2 to 1.7.5.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.6.2...v1.7.5)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

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

* Bump webpack from 5.79.0 to 5.94.0 in /accessibility-checker-extension

Bumps [webpack](https://github.com/webpack/webpack) from 5.79.0 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.79.0...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

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

* Rule server for 8-30

* added icons,changed css and bg color

* Switch from gradle to maven

* fix maven test

* chromedriver missing in deploy

* corrected import and images

* Start local rule server for testing

* changes

* Deploy test

* correction in filter sort

* seprating images

* changes in utilimages

* correction in expression of elements

* commenting hidden filter

* Try deploy from git

* ioctl error

* Try another way to pass key

* gpg import

* import key

* gpg

* param order

* gpg loopback

* Update common/module/src/report/ACReporterHTML.tsx

* Try jar package

* Rename ACReporterHTML.tsx to ACReporterHTML.ts

* maven compiler props

* Setup release deployments for java checker

* Add note to README

* Add Playwright support

* Add Playwright support

* Starting javadoc

* Javadoc updates

* Enable playwrite screenshots, and report.toString

* Add copyright statement to javadoc

* Fix for Firefox

* Fixes for Firefox

* changes for hidden filter

* changes for hidden icon

* correction in total issue

* change in link text and css

* css changes

* css changes

* css change

* css changes

* set initial expand true and change filter order

* css changes

* Fix artifact failures (#2038)

* Bump path-to-regexp and express in /report-react

Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `path-to-regexp` from 0.1.7 to 0.1.10
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](pillarjs/path-to-regexp@v0.1.7...v0.1.10)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](expressjs/express@4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

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

* Bump send and express in /rule-server

Bumps [send](https://github.com/pillarjs/send) to 0.19.0 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases)
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md)
- [Commits](pillarjs/send@0.18.0...0.19.0)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](expressjs/express@4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: send
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

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

* Bump serve-static and express in /report-react (#2043)

Bumps [serve-static](https://github.com/expressjs/serve-static) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `serve-static` from 1.15.0 to 1.16.2
- [Release notes](https://github.com/expressjs/serve-static/releases)
- [Changelog](https://github.com/expressjs/serve-static/blob/v1.16.2/HISTORY.md)
- [Commits](expressjs/serve-static@v1.15.0...v1.16.2)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](expressjs/express@4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: serve-static
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

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

* Bump body-parser and express in /rule-server (#2039)

* Bump body-parser and express in /rule-server

Bumps [body-parser](https://github.com/expressjs/body-parser) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `body-parser` from 1.20.2 to 1.20.3
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](expressjs/body-parser@1.20.2...1.20.3)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](expressjs/express@4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: body-parser
  dependency-type: direct:production
- dependency-name: express
  dependency-type: direct:production
...

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

* Bump path-to-regexp and express in /report-react

Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `path-to-regexp` from 0.1.7 to 0.1.10
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](pillarjs/path-to-regexp@v0.1.7...v0.1.10)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](expressjs/express@4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

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

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ErickR <[email protected]>

* Bump path-to-regexp and express in /rule-server (#2032)

Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) to 0.1.10 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `path-to-regexp` from 0.1.7 to 0.1.10
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](pillarjs/path-to-regexp@v0.1.7...v0.1.10)

Updates `express` from 4.19.2 to 4.20.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.19.2...4.20.0)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Brunet <[email protected]>

* Bump webpack from 5.76.3 to 5.94.0 in /report-react (#2044)

* Bump path-to-regexp and express in /report-react

Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `path-to-regexp` from 0.1.7 to 0.1.10
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](pillarjs/path-to-regexp@v0.1.7...v0.1.10)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](expressjs/express@4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

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

* Bump webpack from 5.76.3 to 5.94.0 in /report-react

Bumps [webpack](https://github.com/webpack/webpack) from 5.76.3 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.76.3...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

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

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ErickR <[email protected]>

* Bump braces from 3.0.2 to 3.0.3 in /common/module (#2031)

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ErickR <[email protected]>

* css changes

* css changes

* score css change

* font weight of score

* change in icon order and summary card border

* color change for summary card

* bg color of extenstion summ & border in html report

* Update guides and screenshots for new interactive HTML reports

* add single quote

* Add three 7.3 rules into the main policy

* Update object verification

* Fix label

* Update More info

* Default Oct 1, 2024

* Default Oct 1, 2024

* Change label

* update

* Update server

* Update archives.json

* chore(engine): Generate a spreadsheet of rule mappings as an artifact for PRs (#2071)

* Rule spreadsheet

* Comment instead of delete messages that weren't generic

* Bump cookie and express in /report-react (#2073)

Bumps [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](jshttp/cookie@v0.6.0...v0.7.1)

Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](expressjs/express@4.21.0...4.21.1)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Brunet <[email protected]>

* Bump markdown-to-jsx in /accessibility-checker-extension (#2072)

Bumps [markdown-to-jsx](https://github.com/quantizor/markdown-to-jsx) from 7.1.9 to 7.5.0.
- [Release notes](https://github.com/quantizor/markdown-to-jsx/releases)
- [Changelog](https://github.com/quantizor/markdown-to-jsx/blob/main/CHANGELOG.md)
- [Commits](quantizor/markdown-to-jsx@v7.1.9...v7.5.0)

---
updated-dependencies:
- dependency-name: markdown-to-jsx
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Brunet <[email protected]>

* Bump axios from 1.6.1 to 1.7.7 in /accessibility-checker-extension (#2064)

Bumps [axios](https://github.com/axios/axios) from 1.6.1 to 1.7.7.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.6.1...v1.7.7)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Brunet <[email protected]>

* Bump rollup from 2.75.6 to 2.79.2 in /report-react (#2059)

Bumps [rollup](https://github.com/rollup/rollup) from 2.75.6 to 2.79.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](rollup/rollup@v2.75.6...v2.79.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Brunet <[email protected]>

* Bump axios from 1.6.0 to 1.7.4 in /common/module (#2046)

Bumps [axios](https://github.com/axios/axios) from 1.6.0 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.6.0...v1.7.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Brunet <[email protected]>

* Cleanup sed version setting (#2075)

* Bump http-proxy-middleware from 2.0.6 to 2.0.7 in /report-react (#2076)

Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases)
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.7/CHANGELOG.md)
- [Commits](chimurai/http-proxy-middleware@v2.0.6...v2.0.7)

---
updated-dependencies:
- dependency-name: http-proxy-middleware
  dependency-type: indirect
...

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

* fix(java): Fix exception when baseline has fewer issues than what is returned by scan (#2078)

* Wrong variable used in diff

* Add test with an item removed from the baseline

* fix(engine): rule engine refactor and update (#2025)

* Code clean up: separate CSSUtil #1974

* code cleanup: use ts classes instead of functions #1974

* refactor the rule code #1974

* code refactor #1974

* code refactor for legacy #1974

* create NodeWalker #1974

* refactor rules #1974

* update the rules #1974

* update the rule engine #1974

* add denug for testing #1974

* add debug for testing #1974

* clear up debug statement #1974

* update rules for resolved role #1974

* update aria definition #1974

* update ethe resolvedRole in rules #1974

* refactor the rule aria_accessiblename_exists #1974

* add console logs for debugging  #1974

* update the rules #1974

* refactor isNodeVisible function #1974

* refactor isNodeVisible #1974

* update the role calculation #1974

* update the common util #1974

* update the aria path which contains presentation  #1974

* update accessible name calculation #1974

* update the CommonUtil #1974

* update svg and ariaautocomplete calculation #1974

* update svg rule to use accNameUtil #1974

* Update AccNameUtil #1974

* update the rules for accessible name calculation #1974

* update accName #1974

* update rules to use new Acc name calculation #1974

* update the rule for acc name #1974

* update the rules to use new acc name calculation #1974

* update the rules and test cases #1974

* update the rules to use accessible name calculation #1974

* update the rules to use new accessible name #1974

* fix merge error #1974

* fix the baselines #1974

* update the selenium baselines #1974

* Update JSONObjectStructureVerification.html.json

* Update JSONObjectStructureVerificationSelenium.html.json

* Update violations.json

* Update DOMWalker.ts

* fix the error "TypeError: Cannot read properties of null (reading 'nodeType')" from the cache #1974

* Update label_name_visible.ts

* update target spacing rule #1974

* update spaing rule #1974

* update DOMWalker #1974

* recalculate the inline text status #1974

* update spacing rule and test results #1974

* clean up the code #1974

* fix the baseline #1974

* update the baseline #1974

* update the baselines #1974

* update puppeteer test skip file list #1974

* update ignored test files #1974

* skip 3 test files #1974

* skip three test files in java test #1974

* java test file update #1974

* Update AccessibilityCheckerSeleniumFFTest.java

* clean up the code #1974

* remove util package from dependency #1974

* Fix wording typo #1974

* Protect from walking at the document level

* Missing space

* update the test case #1974

* Path fix?

* Handle slot assignments better

* Fix sibling accidentally entering slot

* Update the ARIA Walker

* Kill hang

---------

Co-authored-by: Tom Brunet <[email protected]>

* Create archive for Nov 6 (#2086)

* prevent unnecessary update (#2093)

* fixrule(`aria_landmark_name_unique`): Change the accessible name length limitation (#2096)

* Testcase for aria_landmark_name_unique failure

* Check th existence of design pattern from the aria definition

* update the accessible name length

---------

Co-authored-by: Tom Brunet <[email protected]>

* Bug found by DCS related to list, but cause by prevNode (#2094)

Co-authored-by: Shunguo Yan <[email protected]>

* Java baseline bug (#2097)

Co-authored-by: Shunguo Yan <[email protected]>

* Create Nov 13 archive (#2098)

* Update issue templates

* Update pull_request_template.md

* Bump cross-spawn from 7.0.3 to 7.0.6 in /report-react (#2105)

Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

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

* Update pull_request_template.md

Use h3 header

* update Issue templates yaml files (#2114)

* Update bug_report.yaml

* Update bug_report.yaml

* Update bug_report.yaml

* Update bug_report.yaml

* Update bug_report.yaml

* Update accessibility_issue.yaml

* Update accessibility_issue.yaml

* Update bug_report.yaml

* Use cache for visibility (#2112)

* update the configuration files

* update configuration files

* update configuration files

* update config files

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ErickR <[email protected]>
Co-authored-by: Shunguo <[email protected]>
Co-authored-by: nam-singh <[email protected]>
Co-authored-by: drjoho <[email protected]>
Co-authored-by: Phill Jenkins <[email protected]>
Co-authored-by: Erick Renteria <[email protected]>
Co-authored-by: Will Scott <[email protected]>
  • Loading branch information
9 people authored Dec 10, 2024
1 parent b2bedf8 commit 01c107f
Show file tree
Hide file tree
Showing 1,136 changed files with 419,615 additions and 9,006 deletions.
16 changes: 14 additions & 2 deletions .github/ISSUE_TEMPLATE/accessibility_issue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ body:
- type: input
id: tool
attributes:
label: Automated testing tool and ruleset
label: Automated testing tool and ruleset.
description: 'Which tool and ruleset uncovered the issue?'
placeholder: e.g. IBM Equal Access Accessibility Checker - Latest Deployment
- type: input
Expand All @@ -77,4 +77,16 @@ body:
'How do we reproduce the accessibility violation you described?'
validations:
required: true

- type: markdown
attributes:
value: |
### Definition of Done
(DO NOT EDIT THIS SECTION. This section is for IBM internal use only.)
- [ ] Design artifacts reviewed
- [ ] Work item implemented
- [ ] Automated test case created (when applicable)
- [ ] Unit test completed
- [ ] Run Checker (when applicable)
- [ ] Manual and Screen Reader Testing (when applicable)
- [ ] Video recording of user experience walkthrough (if impact to UX)
- [ ] PR created
50 changes: 50 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.


## Definition of Done
<!-- Do not modify this section. This section is for IBM internal use only. -->
- [ ] Design artifacts reviewed
- [ ] Work item implemented
- [ ] Automated test case created (when applicable)
- [ ] Unit test completed
- [ ] Run Checker (when applicable)
- [ ] Manual and Screen Reader Testing (when applicable)
- [ ] Video recording of user experience walkthrough (if impact to UX)
- [ ] PR created
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,18 @@ body:
'How do we reproduce the issue you described using the?'
validations:
required: true
- type: markdown
attributes:
value: |
### Definition of Done
(DO NOT EDIT THIS SECTION. This section is for IBM internal use only.)
- [ ] Design artifacts reviewed
- [ ] Work item implemented
- [ ] Automated test case created (when applicable)
- [ ] Unit test completed
- [ ] Run Checker (when applicable)
- [ ] Manual and Screen Reader Testing (when applicable)
- [ ] Video recording of user experience walkthrough (if impact to UX)
- [ ] PR created
16 changes: 15 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,20 @@
- [ ] This PR has been reviewed and is ready for test
- [ ] I understand that the title of this PR will be used for the next release notes.


### Assets to aide review attached
<!-- DO NOT EDIT THIS SECTION. This section is for IBM internal review only. Specify the additional artifacts that should be reviewed alongside this PR. -->
- [ ] Links to design artifacts
- [ ] Links to video walkthrough of user experience
- [ ] Other

### Definition of Done
<!-- DO NOT EDIT THIS SECTION. This section is for IBM internal review only. Verify that the following requirements are met prior to marking this PR (issue) as Done. -->
- [ ] Peer review complete
- [ ] Secondary review complete
- [ ] Staging deployment verified

<!--
-- TITLE INSTRUCTIONS START: DO NOT EDIT THIS SECTION --
The title of this PR will be used for release notes, please provide a relevant title.
Expand All @@ -35,4 +49,4 @@ The following templates should be used for the PR titles:
Please review more info: https://github.com/IBMa/equal-access/wiki/Release-notes
-- TITLE INSTRUCTIONS END --
-->
-->
6 changes: 3 additions & 3 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- run: npm run package:browser
working-directory: accessibility-checker-extension
- name: Upload packed extension
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: accessibility-checker-extension for Chrome
path: accessibility-checker-extension/package/accessibility-checker-extension.zip
Expand All @@ -53,7 +53,7 @@ jobs:
- run: npm run package:browser
working-directory: accessibility-checker-extension
- name: Upload packed extension
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: accessibility-checker-extension for Firefox
path: accessibility-checker-extension/package/accessibility-checker-extension.zip
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
- run: npm test
working-directory: accessibility-checker/test-act-w3
- name: Upload packed extension
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: ACT Text Results
path: accessibility-checker/test-act-w3/act-report-v2.txt
Expand Down
48 changes: 45 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ jobs:
- run: npm run package:browser
working-directory: accessibility-checker-extension
- name: Upload packed extension
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: accessibility-checker-extension for Chrome
path: accessibility-checker-extension/package/accessibility-checker-extension.zip
Expand All @@ -195,7 +195,7 @@ jobs:
- run: npm run package:browser
working-directory: accessibility-checker-extension
- name: Upload packed extension
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: accessibility-checker-extension for Firefox
path: accessibility-checker-extension/package/accessibility-checker-extension.zip
Expand All @@ -222,4 +222,46 @@ jobs:
BLUEMIX_USERID: apikey
BLUEMIX_PASS: ${{ secrets.BLUEMIX_PASS }}
CLOUD_PWD: ${{ secrets.CLOUD_PWD }}
TRAVIS_BRANCH: prod
TRAVIS_BRANCH: prod

java-accessibility-checker-deploy:
runs-on: ubuntu-22.04
permissions:
packages: write
strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v4
with:
distribution: 'semeru' # See 'Supported distributions' for available options
java-version: '17'
server-id: central
server-username: ${{ secrets.MVN_GITHUB_USER }}
server-password: ${{ secrets.MVN_GITHUB_TOKEN }}
- uses: s4u/[email protected]
with:
servers: |
[{
"id": "central",
"username": "${{ secrets.MVN_GITHUB_USER }}",
"password": "${{ secrets.MVN_GITHUB_TOKEN }}"
}]
- name: Configure GPG Key
run: echo "$GPG_SIGNING_KEY" >private.key
env:
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
- name: Import GPG Key
run: gpg --pinentry-mode=loopback --passphrase "$GPG_SIGNING_KEY_PASS" --import private.key
env:
GPG_SIGNING_KEY_PASS: ${{ secrets.GPG_SIGNING_KEY_PASS }}
- name: Set version
run: sed -i'.old' -e 's/<version>3\.0\.0<\/version>/<version>'"${GITHUB_REF:10}"'<\/version>/g' ./pom.xml
working-directory: java-accessibility-checker
- name: Publish package
run: mvn --batch-mode deploy -DskipTests -Dgpg.passphrase=$GPG_SIGNING_KEY_PASS
working-directory: java-accessibility-checker
env:
GPG_SIGNING_KEY_PASS: ${{ secrets.GPG_SIGNING_KEY_PASS }}
84 changes: 80 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,15 @@ jobs:
- run: npx mocha ./test/mocha/help/help.test.js
working-directory: accessibility-checker-engine
- name: Upload rule listing
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: Rule listing
path: accessibility-checker-engine/dist/help/rules.html
- name: Upload rule mapping spreadsheet
uses: actions/upload-artifact@v4
with:
name: Rule mapping spreadsheet
path: accessibility-checker-engine/dist/help/rules.csv


act-results:
Expand Down Expand Up @@ -84,7 +89,7 @@ jobs:
- run: npm test
working-directory: accessibility-checker/test-act-w3
- name: Upload packed extension
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: ACT Text Results
path: accessibility-checker/test-act-w3/act-report-v2.txt
Expand Down Expand Up @@ -361,6 +366,77 @@ jobs:
- run: npm run wdio
working-directory: accessibility-checker/test/webdriverio

###############################################################################
# Java test
####
java-accessibility-checker-selenium-test:
runs-on: ubuntu-22.04

strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v4
with:
distribution: 'semeru' # See 'Supported distributions' for available options
java-version: '17'
- name: Latest Chrome
uses: browser-actions/setup-chrome@v1
with:
chrome-version: latest
install-chromedriver: true
id: setup-chrome
- run: npm install
working-directory: rule-server
- run: npm run build
working-directory: rule-server
- run: node main.js &
working-directory: rule-server/dist
- run: sleep 10
working-directory: rule-server/dist
- name: Test package
run: mvn --batch-mode test -Dtest="AccessibilityCheckerSeleniumTest"
working-directory: java-accessibility-checker
env:
chromedriverpath: ${{ steps.setup-chrome.outputs.chromedriver-path }}
chromebinpath: ${{ steps.setup-chrome.outputs.chrome-path }}

java-accessibility-checker-playwright-test:
runs-on: ubuntu-22.04

strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v4
with:
distribution: 'semeru' # See 'Supported distributions' for available options
java-version: '17'
- name: Latest Chrome
uses: browser-actions/setup-chrome@v1
with:
chrome-version: latest
install-chromedriver: true
id: setup-chrome
- run: npm install
working-directory: rule-server
- run: npm run build
working-directory: rule-server
- run: node main.js &
working-directory: rule-server/dist
- run: sleep 10
working-directory: rule-server/dist
- name: Test package
run: mvn --batch-mode test -Dtest="AccessibilityCheckerPlaywrightTest"
working-directory: java-accessibility-checker
env:
chromedriverpath: ${{ steps.setup-chrome.outputs.chromedriver-path }}
chromebinpath: ${{ steps.setup-chrome.outputs.chrome-path }}

###############################################################################
# Karma Tests
####
Expand Down Expand Up @@ -491,7 +567,7 @@ jobs:
run: npm test
working-directory: accessibility-checker-extension/test
- name: Upload packed extension
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: accessibility-checker-extension for Chrome
path: accessibility-checker-extension/package/accessibility-checker-extension.zip
Expand All @@ -500,7 +576,7 @@ jobs:
- run: npm run package:browser
working-directory: accessibility-checker-extension
- name: Upload packed extension
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: accessibility-checker-extension for Firefox
path: accessibility-checker-extension/package/accessibility-checker-extension.zip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@ <h3 id="ruleMessage"></h3>

### Why is this important?

A `<label>` element is attached to a specific `<input>` element through the `for` attribute.
When a `<label>` does not reference the corresponding unique `id` in a valid `<input>` element,
A `<label>` element is attached to a specific element, such as `<input>` and `<select>`, through the `for` attribute.
When a `<label>` does not reference the corresponding unique `id` in a valid element,
assistive technologies cannot associate the label with the element.

<!-- This is where the code snippet is injected -->
<div id="locSnippet"></div>

### What to do

* Set the value of the `for` attribute to the `id` value of the valid `<input>` element to be labeled. Make sure the `id` value is unique.
* Set the value of the `for` attribute to the `id` value of the valid element to be labeled. Make sure the `id` value is unique.

For example:

Expand Down
8 changes: 5 additions & 3 deletions accessibility-checker-engine/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@
// { pattern: 'test/v2/checker/accessibility/rules/Rpt_Aria_RequiredParent_Native_Host_Sematics_ruleunit/ACT_ff89c9_pass4.html', watched: true },
//{ pattern: 'test/v2/checker/accessibility/rules/label_name_visible_ruleunit/label_offscreen.html', watched: true },
//{ pattern: 'test/v2/checker/accessibility/rules/aria_role_valid_ruleunit/td_attribute_invalid_copy.html', watched: true },
//{ pattern: 'test/v2/checker/accessibility/rules/label_name_visible_ruleunit/label_multiple_offscreen.html', watched: true },
//{ pattern: 'test/v2/checker/accessibility/rules/text_block_heading_ruleunit/Headings-noneUsedEmphasizedText.html', watched: true },
{ pattern: 'test/v2/checker/accessibility/rules/aria_landmark_name_unique_ruleunit/*.html', watched: true },
// { pattern: 'test/v2/checker/accessibility/rules/aria_parent_required_ruleunit/webComponentPass2.html', watched: true },


{ pattern: 'test/**/*_ruleunit/*.html', watched: true },
{ pattern: 'test/**/*_ruleunit/*.htm', watched: true },
// { pattern: 'test/**/*_ruleunit/*.html', watched: true },
// { pattern: 'test/**/*_ruleunit/*.htm', watched: true },
// all files ending in "_test"
// { pattern: 'test/*_test.js', watched: true },
{ pattern: 'test/**/*_test.js', watched: true }
Expand Down
2 changes: 1 addition & 1 deletion accessibility-checker-engine/karmaaction.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module.exports = (config) => {
customLaunchers: {
ChromeCustom: {
base: 'ChromeHeadless',
flags: ['--disable-web-security', '--no-sandbox']
flags: ['--disable-gpu', '--disable-web-security', '--no-sandbox']
}
},
preprocessors: {
Expand Down
Loading

0 comments on commit 01c107f

Please sign in to comment.