File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -95,16 +95,6 @@ In thinking about accessibility, it is useful to place icon use into one of thre
95
95
3 . ** Indicator** : the icon is not interactive, but it conveys some information, such as a status. This
96
96
includes using the icon in place of text inside of a larger message.
97
97
98
- ### Bidirectionality
99
-
100
- By default icons in an RTL layout will look exactly the same as in LTR, however certain icons have
101
- to be [ mirrored for RTL users] ( https://material.io/guidelines/usability/bidirectionality.html ) . If
102
- you want to mirror an icon only in an RTL layout, you can use the ` mat-icon-rtl-mirror ` CSS class.
103
-
104
- ``` html
105
- <mat-icon class =" mat-icon-rtl-mirror" svgIcon =" thumb-up" ></mat-icon >
106
- ```
107
-
108
98
#### Decorative icons
109
99
When the icon is purely cosmetic and conveys no real semantic meaning, the ` <mat-icon> ` element
110
100
is marked with ` aria-hidden="true" ` .
@@ -124,3 +114,13 @@ screen-readers. The most straightforward way to do this is to
124
114
information as the icon.
125
115
2 . Add the ` cdk-visually-hidden ` class to the ` <span> ` . This will make the message invisible
126
116
on-screen but still available to screen-reader users.
117
+
118
+ ### Bidirectionality
119
+
120
+ By default icons in an RTL layout will look exactly the same as in LTR, however certain icons have
121
+ to be [ mirrored for RTL users] ( https://material.io/guidelines/usability/bidirectionality.html ) . If
122
+ you want to mirror an icon only in an RTL layout, you can use the ` mat-icon-rtl-mirror ` CSS class.
123
+
124
+ ``` html
125
+ <mat-icon class =" mat-icon-rtl-mirror" svgIcon =" thumb-up" ></mat-icon >
126
+ ```
You can’t perform that action at this time.
0 commit comments