Skip to content

Commit

Permalink
Merge pull request #334 from hmrc/PLATUI-2649
Browse files Browse the repository at this point in the history
PLATUI-2649 add focus outline for accessibility to account-menu
  • Loading branch information
TimothyFothergill committed Nov 29, 2023
2 parents 6f6cb7f + 79a19f4 commit af9397c
Show file tree
Hide file tree
Showing 4 changed files with 142 additions and 107 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [5.60.0] - 2023-11-29

### Changed

- Added 3px invisible border to focus on `account-menu` items, to be accessible to Windows High Contrast Mode users

## [5.59.0] - 2023-11-27

### Changed

- Fixed incorrect Welsh content in `accessible-autocomplete`

## [5.58.0] - 2023-11-20

### Changed
Expand Down
231 changes: 127 additions & 104 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hmrc-frontend",
"version": "5.59.0",
"version": "5.60.0",
"description": "Design patterns for HMRC frontends",
"scripts": {
"start": "gulp dev",
Expand Down
4 changes: 2 additions & 2 deletions src/components/account-menu/_account-menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ $hmrc-transition-type: "all";

&:hover,
&:focus {
outline: none;
outline: 3px solid rgba(0, 0, 0, 0);
border-bottom-width: 4px;
border-bottom-style: solid;
color: $govuk-link-hover-colour;
Expand Down Expand Up @@ -225,7 +225,7 @@ body:not(.js-enabled) {
padding: 12px 8px 8px;

&:focus {
outline: none;
outline: 3px solid rgba(0, 0, 0, 0);
}
}
}
Expand Down

0 comments on commit af9397c

Please sign in to comment.