Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stepped process: convert current step to plain text for better accessibility #1663

Merged
merged 3 commits into from Nov 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion scss/_stepped-process.scss
Expand Up @@ -109,7 +109,7 @@
color: var(--#{$prefix}stepped-process-link-color);
}

&:hover {
&[href]:hover {
text-decoration: if($link-hover-decoration == underline, null, underline);
}

Expand Down
4 changes: 2 additions & 2 deletions site/content/docs/5.2/components/stepped-process.md
Expand Up @@ -26,7 +26,7 @@ Add `.active` to a `.stepped-process-item` to indicate the current step, alongsi
<a class="stepped-process-link" href="#" title="1. Sign in">Sign in</a>
</li>
<li class="stepped-process-item active">
<a class="stepped-process-link" href="#" title="2. Review" aria-current="step">Review</a>
<a class="stepped-process-link" title="2. Review" aria-current="step">Review</a>
</li>
<li class="stepped-process-item">
<a class="stepped-process-link" href="#" title="3. Delivery">Delivery</a>
Expand Down Expand Up @@ -55,7 +55,7 @@ Add `.stepped-process-dark` to the `.stepped-process` for a dark variant.
<a class="stepped-process-link" href="#" title="1. Sign in">Sign in</a>
</li>
<li class="stepped-process-item active">
<a class="stepped-process-link" href="#" title="2. Review" aria-current="step">Review</a>
<a class="stepped-process-link" title="2. Review" aria-current="step">Review</a>
</li>
<li class="stepped-process-item">
<a class="stepped-process-link" href="#" title="3. Delivery">Delivery</a>
Expand Down
9 changes: 9 additions & 0 deletions site/content/docs/5.2/migration.md
Expand Up @@ -17,6 +17,15 @@ Boosted v5.2.3 has landed with a handful of urgent bug fixes from Bootstrap and

If you need more details about the changes, please refer to the [v5.2.3 release](https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/releases/tag/v5.2.3).

### Components

- **Stepped Process**
- Current step has been slightly changed for accessibility purpose; the link to this step has been converted to plain text. Please reflect this modification into your websites.
```diff
- <a class="stepped-process-link" href="#" title="2. Review" aria-current="step">Review</a>
+ <a class="stepped-process-link" title="2. Review" aria-current="step">Review</a>
```

## v5.2.2

<hr class="mb-4">
Expand Down