Skip to content
Snippets Groups Projects
Verified Commit 308e696f authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Issue #3040673 by bnjmnm, Gauravvvv, smustgrave, andrewmacpherson, mgifford,...

Issue #3040673 by bnjmnm, Gauravvvv, smustgrave, andrewmacpherson, mgifford, shaal: Audit & fix Red asterisk for required fields WCAG contrast minimum

(cherry picked from commit 676c1dad)
(cherry picked from commit 2994dd60)
parent 6df2fd88
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ label.option {
content: "";
vertical-align: super;
/* Use a background image to prevent screen readers from announcing the text. */
background-image: url(../../../../../../../misc/icons/ee0000/required.svg);
background-image: url(../../../images/svg/e40000/required.svg);
background-repeat: no-repeat;
background-size: 6px 6px;
}
......
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="#E40000" d="M0,7.562l1.114-3.438c2.565,0.906,4.43,1.688,5.59,2.35C6.398,3.553,6.237,1.544,6.22,0.447h3.511 c-0.05,1.597-0.234,3.6-0.558,6.003c1.664-0.838,3.566-1.613,5.714-2.325L16,7.562c-2.05,0.678-4.06,1.131-6.028,1.356 c0.984,0.856,2.372,2.381,4.166,4.575l-2.906,2.059c-0.935-1.274-2.041-3.009-3.316-5.206c-1.194,2.275-2.244,4.013-3.147,5.206 l-2.856-2.059c1.872-2.307,3.211-3.832,4.017-4.575C3.849,8.516,1.872,8.062,0,7.562"/></svg>
......@@ -13,6 +13,7 @@ global:
css/components/blocks/search/search-results.css: {}
css/components/blocks/articles-aside/articles-aside.css: {}
css/components/forms/contact.css: {}
css/components/forms/form.css: { weight: -10 }
css/components/forms/content-moderation.css: {}
css/components/content/node.css: {}
css/components/content/full/node-full.css: {}
......@@ -137,7 +138,6 @@ classy.base:
css/classy/components/details.css: { weight: -10 }
css/classy/components/exposed-filters.css: { weight: -10 }
css/classy/components/field.css: { weight: -10 }
css/classy/components/form.css: { weight: -10 }
css/classy/components/icons.css: { weight: -10 }
css/classy/components/inline-form.css: { weight: -10 }
css/classy/components/item-list.css: { weight: -10 }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment