@@ -133,7 +133,7 @@ class AppFrame extends React.Component {
133
133
< Toolbar >
134
134
< IconButton
135
135
color = "inherit"
136
- aria-label = "open drawer"
136
+ aria-label = "Open drawer"
137
137
onClick = { this . handleDrawerOpen }
138
138
className = { navIconClassName }
139
139
>
@@ -146,24 +146,20 @@ class AppFrame extends React.Component {
146
146
) }
147
147
< div className = { classes . grow } />
148
148
< AppSearch />
149
- < Tooltip id = "appbar-theme" title = "Toggle light/dark theme" enterDelay = { 300 } >
149
+ < Tooltip title = "Toggle light/dark theme" enterDelay = { 300 } >
150
150
< IconButton
151
151
color = "inherit"
152
152
onClick = { this . handleTogglePaletteType }
153
- aria-labelledby = "appbar- theme"
153
+ aria-label = "Toggle light/dark theme"
154
154
>
155
155
{ uiTheme . paletteType === 'light' ? < LightbulbOutlineIcon /> : < LightbulbFullIcon /> }
156
156
</ IconButton >
157
157
</ Tooltip >
158
- < Tooltip
159
- id = "appbar-direction"
160
- title = "Toggle right-to-left/left-to-right"
161
- enterDelay = { 300 }
162
- >
158
+ < Tooltip title = "Toggle right-to-left/left-to-right" enterDelay = { 300 } >
163
159
< IconButton
164
160
color = "inherit"
165
161
onClick = { this . handleToggleDirection }
166
- aria-labelledby = "appbar-direction "
162
+ aria-label = "Toggle right-to-left/left-to-right "
167
163
>
168
164
{ uiTheme . direction === 'rtl' ? (
169
165
< FormatTextdirectionLToR />
@@ -172,12 +168,12 @@ class AppFrame extends React.Component {
172
168
) }
173
169
</ IconButton >
174
170
</ Tooltip >
175
- < Tooltip id = "appbar-github" title = "GitHub repository" enterDelay = { 300 } >
171
+ < Tooltip title = "GitHub repository" enterDelay = { 300 } >
176
172
< IconButton
177
173
component = "a"
178
174
color = "inherit"
179
175
href = "https://github.com/mui-org/material-ui"
180
- aria-labelledby = "appbar-github "
176
+ aria-label = "GitHub repository "
181
177
>
182
178
< GithubIcon />
183
179
</ IconButton >
0 commit comments