Skip to content

Commit 0f5e9ae

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/develop' into steve/pro-726-when-site-has-latest-posts-set-as-the-home-location-the-scan
# Conflicts: # tests/phpunit/includes/classes/EnqueueFrontendTest.php
2 parents 2c4d280 + 7235c55 commit 0f5e9ae

374 files changed

Lines changed: 17402 additions & 5738 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,15 @@
1313
},
1414
"overrides": [
1515
{
16-
"files": [ "src/sidebar/**/*.js", "src/sidebar/**/*.jsx", "src/issueModal/**/*.js", "src/issueModal/**/*.jsx" ],
16+
"files": [
17+
"src/sidebar/**/*.js",
18+
"src/sidebar/**/*.jsx",
19+
"src/issueModal/**/*.js",
20+
"src/issueModal/**/*.jsx",
21+
"src/sharedComponents/**/*.js",
22+
"tests/jest/**/*.js",
23+
"tests/jest/**/*.jsx"
24+
],
1725
"plugins": [ "react" ],
1826
"parserOptions": {
1927
"ecmaVersion": 2021,
@@ -23,7 +31,27 @@
2331
}
2432
},
2533
"rules": {
26-
"react/jsx-uses-vars": "error"
34+
"react/jsx-uses-vars": "error",
35+
"jsdoc/check-tag-names": "off"
36+
}
37+
},
38+
{
39+
"files": [
40+
"tests/jest/setupTests.js",
41+
"tests/jest/styleMock.js",
42+
"tests/jest/jest.config.js",
43+
"tests/jest/babel.config.js"
44+
],
45+
"env": {
46+
"node": true,
47+
"browser": true
48+
},
49+
"globals": {
50+
"Buffer": "readonly",
51+
"globalThis": "readonly"
52+
},
53+
"rules": {
54+
"no-redeclare": "off"
2755
}
2856
}
2957
]
Lines changed: 201 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,201 @@
1+
name: Accessibility Report
2+
description: Let us know if you encounter an accessibility issue so we can fix it.
3+
title: "[Accessibility]: "
4+
labels:
5+
- a11y
6+
- needs-triage
7+
assignees:
8+
- amberhinds
9+
10+
body:
11+
- type: markdown
12+
attributes:
13+
value: |
14+
Please use this template when creating an accessibility issue.
15+
16+
- Please use the latest version of Accessibility Checker.
17+
- Search for existing issues before creating a new one.
18+
19+
- type: checkboxes
20+
id: prerequisites
21+
attributes:
22+
label: Before submitting
23+
options:
24+
- label: I've read and understood the [contribution guidelines](https://github.com/equalizedigital/accessibility-checker/blob/develop/.github/CONTRIBUTING.md).
25+
required: true
26+
- label: I've searched for [related issues](https://github.com/equalizedigital/accessibility-checker/issues) and confirmed this is not a duplicate.
27+
required: true
28+
29+
- type: textarea
30+
id: impacted-element
31+
attributes:
32+
label: Impacted element or component
33+
description: What part of the plugin or interface is affected?
34+
validations:
35+
required: true
36+
37+
- type: textarea
38+
id: description
39+
attributes:
40+
label: Description of the issue
41+
validations:
42+
required: true
43+
44+
- type: textarea
45+
id: screenshots
46+
attributes:
47+
label: Screenshot(s) or video
48+
description: Attach screenshots or paste links to videos demonstrating the issue.
49+
50+
- type: textarea
51+
id: recommended-fix
52+
attributes:
53+
label: Recommended fix or expected behavior
54+
55+
- type: dropdown
56+
id: severity
57+
attributes:
58+
label: Is this a critical blocker?
59+
options:
60+
- Yes - there is no workaround for this issue.
61+
- No - this is an accessibility problem, but it is minor or not a blocker.
62+
- Unsure
63+
64+
- type: dropdown
65+
id: wcag-sc
66+
attributes:
67+
label: Related WCAG Success Criterion
68+
description: Select the WCAG Success Criterion that is most closely related to this issue.
69+
options:
70+
- Not sure
71+
- 1.1.1 Non-text Content
72+
- 1.2.1 Audio-only and Video-only (Prerecorded)
73+
- 1.2.2 Captions (Prerecorded)
74+
- 1.2.3 Audio Description or Media Alternative (Prerecorded)
75+
- 1.2.4 Captions (Live)
76+
- 1.2.5 Audio Description (Prerecorded)
77+
- 1.3.1 Info and Relationships
78+
- 1.3.2 Meaningful Sequence
79+
- 1.3.3 Sensory Characteristics
80+
- 1.3.4 Orientation
81+
- 1.3.5 Identify Input Purpose
82+
- 1.4.1 Use of Color
83+
- 1.4.2 Audio Control
84+
- 1.4.3 Contrast (Minimum)
85+
- 1.4.4 Resize Text
86+
- 1.4.5 Images of Text
87+
- 1.4.10 Reflow
88+
- 1.4.11 Non-text Contrast
89+
- 1.4.12 Text Spacing
90+
- 1.4.13 Content on Hover or Focus
91+
- 2.1.1 Keyboard
92+
- 2.1.2 No Keyboard Trap
93+
- 2.1.4 Character Key Shortcuts
94+
- 2.2.1 Timing Adjustable
95+
- 2.2.2 Pause, Stop, Hide
96+
- 2.3.1 Three Flashes or Below Threshold
97+
- 2.4.1 Bypass Blocks
98+
- 2.4.2 Page Titled
99+
- 2.4.3 Focus Order
100+
- 2.4.4 Link Purpose (In Context)
101+
- 2.4.5 Multiple Ways
102+
- 2.4.6 Headings and Labels
103+
- 2.4.7 Focus Visible
104+
- 2.4.11 Focus Not Obscured (Minimum)
105+
- 2.5.1 Pointer Gestures
106+
- 2.5.2 Pointer Cancellation
107+
- 2.5.3 Label in Name
108+
- 2.5.4 Motion Actuation
109+
- 2.5.7 Dragging Movements
110+
- 2.5.8 Target Size (Minimum)
111+
- 3.1.1 Language of Page
112+
- 3.2.1 On Focus
113+
- 3.2.2 On Input
114+
- 3.2.3 Consistent Navigation
115+
- 3.2.4 Consistent Identification
116+
- 3.2.6 Consistent Help
117+
- 3.3.1 Error Identification
118+
- 3.3.2 Labels or Instructions
119+
- 3.3.3 Error Suggestion
120+
- 3.3.4 Error Prevention (Legal, Financial, Data)
121+
- 3.3.7 Redundant Entry
122+
- 3.3.8 Accessible Authentication (Minimum)
123+
- 4.1.1 Parsing
124+
- 4.1.2 Name, Role, Value
125+
- 4.1.3 Status Messages
126+
127+
- type: textarea
128+
id: reproduction
129+
attributes:
130+
label: How can we reproduce this behavior?
131+
placeholder: |
132+
1. Go to...
133+
2. Click...
134+
3. Observe...
135+
validations:
136+
required: true
137+
138+
- type: input
139+
id: wordpress-version
140+
attributes:
141+
label: WordPress version
142+
placeholder: e.g. 7.0
143+
144+
- type: input
145+
id: accessibility-checker-version
146+
attributes:
147+
label: Accessibility Checker version
148+
placeholder: e.g. 1.43.0
149+
validations:
150+
required: true
151+
152+
- type: input
153+
id: active-theme
154+
attributes:
155+
label: Active theme
156+
placeholder: e.g. Twenty Twenty-Six
157+
158+
- type: checkboxes
159+
id: screen-reader
160+
attributes:
161+
label: Which screen reader are you using? (if applicable)
162+
options:
163+
- label: NVDA
164+
- label: VoiceOver
165+
- label: JAWS
166+
- label: Other
167+
168+
- type: input
169+
id: other-screen-reader
170+
attributes:
171+
label: Other screen reader
172+
placeholder: Specify if you selected Other
173+
174+
- type: checkboxes
175+
id: browser
176+
attributes:
177+
label: Which browser is affected?
178+
options:
179+
- label: Internet Explorer
180+
- label: Edge
181+
- label: Chrome
182+
- label: Firefox
183+
- label: Safari
184+
- label: Brave
185+
186+
- type: checkboxes
187+
id: editor
188+
attributes:
189+
label: Which editor is affected? (if relevant)
190+
options:
191+
- label: Classic Editor
192+
- label: Gutenberg
193+
- label: Classic Editor Plugin
194+
- label: Page Builder
195+
196+
- type: input
197+
id: page-builder
198+
attributes:
199+
label: Page Builder name
200+
placeholder: Elementor, Beaver Builder, Divi, etc.
201+

.github/workflows/code-coverage-and-coveralls.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ jobs:
2828
with:
2929
php-version: '7.4'
3030
coverage: xdebug
31-
github-token: ${{ secrets.PUBLIC_REPO_ACCESS || secrets.GITHUB_TOKEN }}
31+
github-token: ${{ secrets.GITHUB_TOKEN }}
3232
env:
33-
GITHUB_TOKEN: ${{ secrets.PUBLIC_REPO_ACCESS || secrets.GITHUB_TOKEN }}
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434

3535
- name: Install dependencies
3636
run: composer install --prefer-dist --no-progress --no-suggest

.github/workflows/cs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
php-version: '7.4'
3333
coverage: none
3434
tools: cs2pr
35-
github-token: ${{ secrets.PUBLIC_REPO_ACCESS || secrets.GITHUB_TOKEN }}
35+
github-token: ${{ secrets.GITHUB_TOKEN }}
3636
env:
37-
GITHUB_TOKEN: ${{ secrets.PUBLIC_REPO_ACCESS || secrets.GITHUB_TOKEN }}
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3838

3939
# Validate the composer.json file.
4040
# @link https://getcomposer.org/doc/03-cli.md#validate

.github/workflows/deploy-on-release-to-dot-org.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
php-version: '7.4'
2222
tools: composer:v2
2323
coverage: none
24-
github-token: ${{ secrets.PUBLIC_REPO_ACCESS }}
24+
github-token: ${{ secrets.GITHUB_TOKEN }}
2525
env:
26-
GITHUB_TOKEN: ${{ secrets.PUBLIC_REPO_ACCESS }}
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2727

2828
# Some images won't have svn available. Install it if that's the case.
2929
- name: Install SVN
@@ -50,10 +50,17 @@ jobs:
5050
npm run dist:dotorg
5151
echo "::set-output name=zip-path::./dist/${{ github.event.repository.name }}/${{ github.event.repository.name }}.zip"
5252
53+
- name: Normalize release version for SVN tag
54+
id: normalize-version
55+
run: |
56+
TAG="${{ github.event.release.tag_name }}"
57+
echo "version=${TAG#v}" >> "$GITHUB_OUTPUT"
58+
5359
- name: WordPress plugin deploy
5460
id: deploy
5561
uses: 10up/action-wordpress-plugin-deploy@stable
5662
env:
5763
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
5864
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
5965
BUILD_DIR: ./dist/${{ github.event.repository.name }}/
66+
VERSION: ${{ steps.normalize-version.outputs.version }}

0 commit comments

Comments
 (0)