-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
147 changed files
with
19,223 additions
and
487 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: WCAG tests | ||
|
||
on: | ||
pull_request: | ||
branches: [develop, hotfix/*, release/*, support/*] | ||
|
||
jobs: | ||
WCAG-test: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [14.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm ci | ||
- run: npm run setup-test-site | ||
- run: npm run build-test-site | ||
- run: npm run wcag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{{#if feedbackEnabled}} | ||
{{#if directAnswerClass}} | ||
{{> feedback className=directAnswerClass cardType='HitchhikerDirectAnswerCard'}} | ||
{{else}} | ||
{{> feedback className='HitchhikerCard' cardType='HitchhikerCard'}} | ||
{{/if}} | ||
{{/if}} | ||
|
||
{{#*inline 'feedback'}} | ||
<div class="{{className}}-feedbackWrapper"> | ||
<div class="{{className}}-feedbackContent"> | ||
{{#if feedbackSubmitted}} | ||
<div class="{{className}}-feedbackText"> | ||
{{feedbackTextOnSubmission}} | ||
</div> | ||
{{else}} | ||
{{#if feedbackText}} | ||
<div class="{{className}}-feedbackText"> | ||
{{feedbackText}} | ||
</div> | ||
{{/if}} | ||
<div class="{{className}}-thumbsWrapper"> | ||
<form class="HitchhikerCard-thumbs js-{{cardType}}-feedbackForm"> | ||
<fieldset class="HitchhikerCard-fieldset"> | ||
<label class="HitchhikerCard-thumb"> | ||
<span class="HitchhikerCard-thumbUpIcon"> | ||
{{> icons/builtInIcon iconName='thumb' }} | ||
</span> | ||
<input type="radio" | ||
name="feedback" | ||
value="true" | ||
class="HitchhikerCard-feedback HitchhikerCard-thumbUpButton js-{{cardType}}-thumbInput"> | ||
<span class="sr-only"> | ||
{{positiveFeedbackSrText}} | ||
</span> | ||
</label> | ||
<label class="HitchhikerCard-thumb"> | ||
<span class="HitchhikerCard-thumbDownIcon"> | ||
{{> icons/builtInIcon iconName='thumb' }} | ||
</span> | ||
<input type="radio" | ||
name="feedback" | ||
value="false" | ||
class="HitchhikerCard-feedback HitchhikerCard-thumbDownButton js-{{cardType}}-thumbInput"> | ||
<span class="sr-only"> | ||
{{negativeFeedbackSrText}} | ||
</span> | ||
</label> | ||
</fieldset> | ||
<button type="submit" class="sr-only sr-only-focusable">Send feedback</button> | ||
</form> | ||
</div> | ||
{{/if}} | ||
</div> | ||
</div> | ||
{{/inline}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.