@@ -321,14 +321,12 @@ describe('form-group', () => {
321321 const $invalidFeedback = wrapper . find ( '.invalid-feedback' )
322322 expect ( $invalidFeedback . exists ( ) ) . toBe ( true )
323323 expect ( $invalidFeedback . text ( ) ) . toEqual ( 'bar' )
324- expect ( $invalidFeedback . attributes ( 'role' ) ) . toEqual ( 'alert' )
325324 expect ( $invalidFeedback . attributes ( 'aria-live' ) ) . toEqual ( 'assertive' )
326325 expect ( $invalidFeedback . attributes ( 'aria-atomic' ) ) . toEqual ( 'true' )
327326
328327 const $validFeedback = wrapper . find ( '.valid-feedback' )
329328 expect ( $validFeedback . exists ( ) ) . toBe ( true )
330329 expect ( $validFeedback . text ( ) ) . toEqual ( 'baz' )
331- expect ( $validFeedback . attributes ( 'role' ) ) . toEqual ( 'alert' )
332330 expect ( $validFeedback . attributes ( 'aria-live' ) ) . toEqual ( 'assertive' )
333331 expect ( $validFeedback . attributes ( 'aria-atomic' ) ) . toEqual ( 'true' )
334332
@@ -373,14 +371,12 @@ describe('form-group', () => {
373371 let $invalidFeedback = wrapper . find ( '.invalid-feedback' )
374372 expect ( $invalidFeedback . exists ( ) ) . toBe ( true )
375373 expect ( $invalidFeedback . text ( ) ) . toEqual ( 'bar' )
376- expect ( $invalidFeedback . attributes ( 'role' ) ) . toEqual ( 'alert' )
377374 expect ( $invalidFeedback . attributes ( 'aria-live' ) ) . toEqual ( 'polite' )
378375 expect ( $invalidFeedback . attributes ( 'aria-atomic' ) ) . toEqual ( 'true' )
379376
380377 let $validFeedback = wrapper . find ( '.valid-feedback' )
381378 expect ( $validFeedback . exists ( ) ) . toBe ( true )
382379 expect ( $validFeedback . text ( ) ) . toEqual ( 'baz' )
383- expect ( $validFeedback . attributes ( 'role' ) ) . toEqual ( 'alert' )
384380 expect ( $validFeedback . attributes ( 'aria-live' ) ) . toEqual ( 'polite' )
385381 expect ( $validFeedback . attributes ( 'aria-atomic' ) ) . toEqual ( 'true' )
386382
0 commit comments