forked from external-repos/pa11y-dashboard
A11y fixes for pa11y dashboard pages. (#306)
* First draft of a11y fixes. * Amended results title * Amended results title (again) * Back to top keyboard operation Removed the 'data-role="top"' attribute, which implemented a cool animation to scroll to top but prevented the default behaviour, resulting in the keyboard focus not going back to top. * Options Button Fix to have a working options button, but using the mouse only. This is not a good solution because it cannot be operated via the keyboard. * Fixed options menu css. * Results view layout changes * Undoing layout changes * Graph layout fixes. * Skip Rules Link Added a link to skip the list of rules, which can get very long and annoying for any keyboard user not interested in selecting a rule. Most probably, implementing a collapsible list of rules would be a better solution here. Co-authored-by: Carlos Muncharaz <carlos@muncharaz.eu>
This commit is contained in:
@@ -805,7 +805,7 @@ function getStandards() {
|
||||
description: 'This element\'s text is placed on a background image. Ensure the contrast ratio between the text and all covered parts of the image are at least 4.5:1.'
|
||||
},
|
||||
{
|
||||
name: 'WCAG2AA.Principle1.Guideline1_4.1_4_3.G145 ',
|
||||
name: 'WCAG2AA.Principle1.Guideline1_4.1_4_3.G1451',
|
||||
description: 'This element\'s text is placed on a background image. Ensure the contrast ratio between the text and all covered parts of the image are at least 3:1.'
|
||||
},
|
||||
{
|
||||
@@ -1430,11 +1430,11 @@ function getStandards() {
|
||||
description: 'This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of /{value/}. Recommendation: /{colour recommendations/}.'
|
||||
},
|
||||
{
|
||||
name: 'WCAG2AAA.Principle1.Guideline1_4.1_4_6.G17 ',
|
||||
name: 'WCAG2AAA.Principle1.Guideline1_4.1_4_6.G17-1',
|
||||
description: 'This element\'s text is placed on a background image. Ensure the contrast ratio between the text and all covered parts of the image are at least 7:1.'
|
||||
},
|
||||
{
|
||||
name: 'WCAG2AAA.Principle1.Guideline1_4.1_4_6.G18 ',
|
||||
name: 'WCAG2AAA.Principle1.Guideline1_4.1_4_6.G18-1',
|
||||
description: 'This element\'s text is placed on a background image. Ensure the contrast ratio between the text and all covered parts of the image are at least 4.5:1.'
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user