File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export function NHSNotifyHeader({ dataTestId }: HeaderType) {
2222 < Link
2323 className = 'nhsuk-header__link nhsuk-header__link--service'
2424 href = '/create-and-submit-templates'
25- aria-label = 'NHS Notify templates'
25+ aria-label = { content . components . header . links . logoLink . ariaLabel }
2626 >
2727 < svg
2828 className = 'nhsuk-logo'
@@ -33,7 +33,9 @@ export function NHSNotifyHeader({ dataTestId }: HeaderType) {
3333 width = '100'
3434 data-testid = 'page-header-logo'
3535 >
36- < title > NHS logo</ title >
36+ < title >
37+ { content . components . header . links . logoLink . logoTitle }
38+ </ title >
3739 < path
3840 className = 'nhsuk-logo__background'
3941 fill = '#005eb8'
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ const header = {
1717 text : 'Sign out' ,
1818 href : '/auth/signout' ,
1919 } ,
20+ logoLink : {
21+ ariaLabel : 'NHS Notify templates' ,
22+ logoTitle : 'NHS logo' ,
23+ } ,
2024 } ,
2125} ;
2226
You can’t perform that action at this time.
0 commit comments