-
Notifications
You must be signed in to change notification settings - Fork 825
Add KeyboardButtonProps for spreading props onto Keyboard IconButton
#842
Add KeyboardButtonProps for spreading props onto Keyboard IconButton
#842
Conversation
Release 2.0.3
Release 2.0.5
Codecov Report
@@ Coverage Diff @@
## master #842 +/- ##
==========================================
- Coverage 92.74% 92.68% -0.07%
==========================================
Files 47 40 -7
Lines 1337 1339 +2
Branches 168 168
==========================================
+ Hits 1240 1241 +1
- Misses 70 71 +1
Partials 27 27
Continue to review full report at Codecov.
|
dmtrKovalenko
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is a problem. We need to support different locales
|
Yeah, i thought about that too. So you suggest an additional prop?
Dmitriy Kovalenko <[email protected]> schrieb am Mi., 9. Jan. 2019,
19:56:
… ***@***.**** commented on this pull request.
Here is a problem. We need to support different locales
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#842 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAR612LCgS8CAJ_Evd5n6o4zfiQMSi63ks5vBZKmgaJpZM4Z2wcJ>
.
|
|
@digitalkaoz here I see 2 possibilities. Add prop something like |
|
i would go with |
Release 2.0.1
7c4fcb0 to
7e574a7
Compare
KeyboardButtonProps for spreading props onto Keyboard IconButton
20fff5a to
cd40792
Compare
|
👍 lgtm |
|
Find the IconButton by |
|
@dmtrKovalenko im afraid im too stupid. when i fetch the html output with |
|
Check the html with |
|
as i said, the "aria-label" is rendered! maybe you can take over, and give it the final polish? |
|
Ok I will do |
|
@dmtrKovalenko any news on that one? |
|
@digitalkaoz will be included in the next release. I am pretty busy right now so will continue asap |
|
no worries, didnt wanted to stress you! :) |
* Rename ExtendWrapper.d.ts to ExtendWrapper.ts to make it generate defenition file * Release 2.1.1 * [docs] Make code highlighting use dark theme in dark mode (#852) * Fix improper dispaying of highlighted code, use current theme for highlighting * Remove unused markup highlight syntax * [DateTimePicker] Add more consistent padding for 24h mode (#851) * Migrate from classnames to nicer clsx (#855) * Migrate from classnames to nicer clsx * Update size snapshot * Remove keycode in favour of event.key (#859) * Remove keycode in favour of event.key Ref https://twitter.com/olivtassinari/status/1084819202412818432 We can already see size improvement (which will be visible for end user only after material-ui upgrade) in 1.5kB. * Fix test * Fix direction of leaving item (#873) Fix incorrect leaving direction of Calendar animation * Add yarn example to README.md * Update packages (#878) * [#865] Properly type inputProps (#879) * [#865] Properly type inputProps * Add usage of InputLabelProps for checking typing of extended props * Add `KeyboardButtonProps` for spreading props onto Keyboard IconButton (#880) * add `KeyboardButtonProps` for Keyboard Icon Button (#842) * Add Unit test * Release 2.1.2
Description
for better accessibility we derive an
aria-labelfrom the given (optional)labelprop for the Adornment.i thought about adding another prop to
InputAdornmentProps. Not sure what might be the best option here. This is just a sensible default.What is your opinion on this?