Skip to content

Commit

Permalink
Fix the following Axe issue as well:
Browse files Browse the repository at this point in the history
"description": "Ensures all ARIA attributes have valid values"
  "help": "ARIA attributes must conform to valid values"
  "helpUrl": "https://dequeuniversity.com/rules/axe/3.3/aria-valid-attr-value?application=axeAPI"
  "id": "aria-valid-attr-value"
  "impact": "critical"
  "nodes": [

https://dequeuniversity.com/rules/axe/3.3/aria-valid-attr-value?application=axeAPI
https://stackoverflow.com/questions/48548951/how-to-fix-aria-attributes-must-conform-to-valid-values
  • Loading branch information
Octavian Neguletu committed Jan 15, 2020
1 parent 76f0dd1 commit 7a7f959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/job_profiles/_job_profile.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<p class="govuk-body govuk-!-margin-bottom-1">Recent job growth: <span class="strong"><%= job_profile.growth_type %></span></p>
<% if job_profile.growth.present? %>
<details class="govuk-details" data-module="govuk-details">
<summary class="govuk-details__summary" aria-controls="recent-growth-details" aria-expanded="true" role="button">
<summary class="govuk-details__summary" aria-controls="recent-growth-details-<%= job_profile.slug %>" aria-expanded="true" role="button">
<span class="govuk-details__summary-text">What does <%= job_profile.growth_type.downcase %> mean?</span>
</summary>
<div class="govuk-details__text govuk-body-m" aria-hidden="false" id="recent-growth-details-<%= job_profile.slug %>">
Expand Down

0 comments on commit 7a7f959

Please sign in to comment.