File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -2260,6 +2260,7 @@ describe('component accessibility audits', () => {
22602260 it ( 'should have no accessibility violations with size small' , async ( ) => {
22612261 const component = await mountSuspended ( SelectBase , {
22622262 props : { size : 'sm' } ,
2263+ attrs : { 'aria-label' : 'Small select' } ,
22632264 slots : { default : '<option value="option1">option 1</option>' } ,
22642265 } )
22652266 const results = await runAxe ( component )
@@ -2300,6 +2301,7 @@ describe('component accessibility audits', () => {
23002301 const component = await mountSuspended ( SelectField , {
23012302 props : {
23022303 id : 'a11y-select-3' ,
2304+ attrs : { 'aria-label' : 'Disabled select' } ,
23032305 items : [ { label : 'Option 1' , value : 'option1' } ] ,
23042306 disabled : true ,
23052307 } ,
@@ -2312,6 +2314,7 @@ describe('component accessibility audits', () => {
23122314 const component = await mountSuspended ( SelectField , {
23132315 props : {
23142316 id : 'a11y-select-4' ,
2317+ attrs : { 'aria-label' : 'Small select' } ,
23152318 items : [ { label : 'Option 1' , value : 'option1' } ] ,
23162319 size : 'sm' ,
23172320 } ,
You can’t perform that action at this time.
0 commit comments