File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -188,6 +188,10 @@ public static function provideAriaHiddenCases(): iterable
188
188
['aria-hidden ' => 'true ' ],
189
189
'<svg aria-hidden="true"><path d="M0 0L12 12"/></svg> ' ,
190
190
];
191
+ yield 'aria-hidden false + aria-label ' => [
192
+ ['aria-hidden ' => 'false ' , 'aria-label ' => 'foo ' ],
193
+ '<svg aria-hidden="false" aria-label="foo"><path d="M0 0L12 12"/></svg> ' ,
194
+ ];
191
195
yield 'title attribute ' => [
192
196
['title ' => 'foo ' ],
193
197
'<svg title="foo"><path d="M0 0L12 12"/></svg> ' ,
@@ -196,6 +200,10 @@ public static function provideAriaHiddenCases(): iterable
196
200
['aria-labelledby ' => 'foo ' ],
197
201
'<svg aria-labelledby="foo"><path d="M0 0L12 12"/></svg> ' ,
198
202
];
203
+ yield 'aria-label attribute ' => [
204
+ ['aria-label ' => 'foo ' ],
205
+ '<svg aria-label="foo"><path d="M0 0L12 12"/></svg> ' ,
206
+ ];
199
207
}
200
208
201
209
private function createRegistry (array $ icons ): IconRegistryInterface
You can’t perform that action at this time.
0 commit comments