Commit 8b19fd9
fix(material/chips): change div to span (#26343)
For `MatChip` component, change the `<div/>` element for the primary
action to a span element. Fix problem where the div is nested inside a
span. A span is a container for phrasing content and is not supposed to
contain flow content. This could also potentialy cause accessibility
issue. Correct the semantics by nesting a span inside another span.
(cherry picked from commit 14919bd)1 parent 3d7f63b commit 8b19fd9
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments