Skip to content

Commit

Permalink
a11y(optional-policies): add aria label to close button
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaucau committed Dec 5, 2024
1 parent cbe6437 commit 5f02801
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions js/src/forum/components/UpdateAlert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export default class UpdateAlert {
onclick={() => {
temporarilyHidden = true;
}}
aria-label={app.translator.trans('fof-terms.forum.update-alert.close')}
/>
);
}
Expand Down
3 changes: 2 additions & 1 deletion resources/locale/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ fof-terms:

update-alert:
must-accept-message: We've temporarily restricted access to your account while you check out the new terms.
can-accept-message: We recently updated the terms. You must accept them to continue using this website.
can-accept-message: We recently updated the terms. You can accept them to continue using this website.
review: Click here to review and accept the new terms
close: Close

user_settings:
optional_policies_label: Policies
Expand Down

0 comments on commit 5f02801

Please sign in to comment.