@@ -22,7 +22,7 @@ describe('icons', () => {
2222 expect ( wrapper . classes ( ) ) . toContain ( 'bi-alarm-fill' )
2323 expect ( wrapper . classes ( ) . length ) . toBe ( 3 )
2424 expect ( wrapper . attributes ( 'role' ) ) . toBe ( 'img' )
25- expect ( wrapper . attributes ( 'alt ' ) ) . toBe ( 'icon ' )
25+ expect ( wrapper . attributes ( 'aria-label ' ) ) . toBe ( 'alarm fill ' )
2626 expect ( wrapper . attributes ( 'focusable' ) ) . toBe ( 'false' )
2727 expect ( wrapper . attributes ( 'xmlns' ) ) . toBe ( 'http://www.w3.org/2000/svg' )
2828 expect ( wrapper . attributes ( 'width' ) ) . toBe ( '1em' )
@@ -54,7 +54,7 @@ describe('icons', () => {
5454 expect ( wrapper . classes ( ) ) . toContain ( 'bi-alarm-fill' )
5555 expect ( wrapper . classes ( ) . length ) . toBe ( 3 )
5656 expect ( wrapper . attributes ( 'role' ) ) . not . toBe ( 'img' )
57- expect ( wrapper . attributes ( 'alt ' ) ) . not . toBe ( 'icon' )
57+ expect ( wrapper . attributes ( 'aria-label ' ) ) . not . toBe ( 'icon' )
5858 expect ( wrapper . attributes ( 'focusable' ) ) . not . toBe ( 'false' )
5959 expect ( wrapper . attributes ( 'focusable' ) ) . not . toBe ( 'true' )
6060 expect ( wrapper . attributes ( 'xmlns' ) ) . not . toBe ( 'http://www.w3.org/2000/svg' )
@@ -153,7 +153,7 @@ describe('icons', () => {
153153 expect ( wrapper . classes ( ) ) . toContain ( 'text-danger' )
154154 expect ( wrapper . classes ( ) . length ) . toBe ( 4 )
155155 expect ( wrapper . attributes ( 'role' ) ) . toBe ( 'img' )
156- expect ( wrapper . attributes ( 'alt ' ) ) . toBe ( 'icon ' )
156+ expect ( wrapper . attributes ( 'aria-label ' ) ) . toBe ( 'alarm fill ' )
157157 expect ( wrapper . attributes ( 'focusable' ) ) . toBe ( 'false' )
158158 expect ( wrapper . find ( 'svg > g' ) . exists ( ) ) . toBe ( true )
159159 expect ( wrapper . find ( 'svg > g' ) . attributes ( 'transform' ) ) . not . toBeDefined ( )
@@ -178,7 +178,7 @@ describe('icons', () => {
178178 expect ( wrapper . classes ( ) ) . toContain ( 'bi-alarm-fill' )
179179 expect ( wrapper . classes ( ) . length ) . toBe ( 3 )
180180 expect ( wrapper . attributes ( 'role' ) ) . toBe ( 'img' )
181- expect ( wrapper . attributes ( 'alt ' ) ) . toBe ( 'icon ' )
181+ expect ( wrapper . attributes ( 'aria-label ' ) ) . toBe ( 'alarm fill ' )
182182 expect ( wrapper . attributes ( 'focusable' ) ) . toBe ( 'false' )
183183 expect ( wrapper . attributes ( 'style' ) ) . toBeDefined ( )
184184 expect ( wrapper . element . style . fontSize ) . toEqual ( '125%' )
0 commit comments