Skip to content

Commit

Permalink
Merge branch 'main' into renovate/lock-file-maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaopeng0202 authored Jan 2, 2025
2 parents 7fd442a + c7abf66 commit 7e177f2
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 26 deletions.
68 changes: 44 additions & 24 deletions frontend/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 frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"react-beforeunload": "^2.6.0",
"react-dom": "^18.2.0",
"react-hash-string": "^1.0.0",
"react-router-dom": "^6.21.2",
"react-router-dom": "^7.0.0",
"react-test-renderer": "^18.2.0",
"react-toastify": "^10.0.0",
"sass": "^1.77.7",
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/ClientAndCodeInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ const ClientAndCodeInput = ({
<ClientSearchModal
linkText="open the client search"
modalLabel="Register A-Class Seedlot"
aria-label="find the client input information"
applySelectedClient={(client: ForestClientSearchType) => {
const selectedClient: StringInputType = {
...clientInput,
Expand Down
6 changes: 6 additions & 0 deletions frontend/src/components/ClientAndCodeInput/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@
p {
color: var(--#{vars.$bcgov-prefix}-link-primary);
}

p:focus {
outline: 0.15rem solid var(--#{vars.$bcgov-prefix}-link-primary); /* High-contrast focus indicator */
outline-offset: 0.15rem;
border-radius: 0.075rem;
}
}
}
}
2 changes: 1 addition & 1 deletion frontend/src/components/InputErrorText/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface InputErrorProps {
const InputErrorText = ({
description
}: InputErrorProps) => (
<div className="input-error-text-component">
<div role="alert" aria-live="polite" className="input-error-text-component">
<ErrorOutline />
<p>{description}</p>
</div>
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/components/PageTitle/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ const PageTitle = ({
<IconButton
kind="ghost"
label={isFavourited ? 'Unfavourite' : 'Favourite'}
aria-label={isFavourited ? 'Unfavourite' : 'Favourite'}
aria-pressed={isFavourited}
align="right"
onClick={
isFavourited
Expand Down

0 comments on commit 7e177f2

Please sign in to comment.