File tree Expand file tree Collapse file tree 5 files changed +10
-7
lines changed 
e2e/__tests__/app-impress 
helm/env.d/dev/configuration/theme Expand file tree Collapse file tree 5 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ and this project adheres to
1616-  🐛(frontend) fix duplicate document entries in grid #1479  
1717-  🐛(frontend) show full nested doc names with ajustable bar #1456  
1818-  🐛(backend) fix trashbin list
19+ -  ♿(frontend) improve accessibility:
20+   -  ♿(frontend) remove empty alt on logo due to Axe a11y error #1516  
1921
2022## [ 3.8.2]  - 2025-10-17 
2123
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ test.describe('Header: Override configuration', () => {
159159          logo : { 
160160            src : '/assets/logo-gouv.svg' , 
161161            width : '220px' , 
162-             alt : 'Gouvernement Logo ' , 
162+             alt : '' , 
163163          } , 
164164        } , 
165165      } , 
@@ -168,8 +168,11 @@ test.describe('Header: Override configuration', () => {
168168    await  page . goto ( '/' ) ; 
169169    const  header  =  page . locator ( 'header' ) . first ( ) ; 
170170
171-     await  expect ( header . getByAltText ( 'Gouvernement Logo' ) ) . toBeVisible ( ) ; 
171+     const  logoImage  =  header . getByTestId ( 'header-icon-docs' ) ; 
172+     await  expect ( logoImage ) . toBeVisible ( ) ; 
172173
173-     await  expect ( header . getByAltText ( 'Docs' ) ) . toBeHidden ( ) ; 
174+     await  expect ( logoImage ) . not . toHaveAttribute ( 'src' ,  '/assets/icon-docs.svg' ) ; 
175+     await  expect ( logoImage ) . toHaveAttribute ( 'src' ,  '/assets/logo-gouv.svg' ) ; 
176+     await  expect ( logoImage ) . toHaveAttribute ( 'alt' ,  '' ) ; 
174177  } ) ; 
175178} ) ; 
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ export const Header = () => {
6868            className = "c__image-system-filter" 
6969            data-testid = "header-icon-docs" 
7070            src = { logo ?. src  ||  '/assets/icon-docs.svg' } 
71-             alt = { logo ?. alt   ||   t ( 'Docs' ) } 
71+             alt = "" 
7272            width = { 0 } 
7373            height = { 0 } 
7474            style = { { 
Original file line number Diff line number Diff line change @@ -3,6 +3,5 @@ export interface HeaderType {
33    src ?: string ; 
44    width ?: string ; 
55    height ?: string ; 
6-     alt ?: string ; 
76  } ; 
87} 
Original file line number Diff line number Diff line change 137137  "header" : {
138138    "logo" : {
139139      "src" : " /assets/icon-docs.svg" 
140-       "width" : " 32px" 
141-       "alt" : " Notes" 
140+       "width" : " 32px" 
142141    }
143142  }
144143}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments