-
Notifications
You must be signed in to change notification settings - Fork 275
fix(ui5-date-picker): input type is now conveyed #2628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
b3cd926
19c923f
22c163d
6d9749f
aed4949
37fdbf2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,9 +31,6 @@ BUTTON_ARIA_TYPE_REJECT=Negative Action | |
#XACT: ARIA announcement for the emphasized button | ||
BUTTON_ARIA_TYPE_EMPHASIZED=Emphasized | ||
|
||
#XACT: Date | ||
DATEPICKER_DATE_ACC_TEXT=Date | ||
|
||
# Carousel of text | ||
CAROUSEL_OF_TEXT=of | ||
|
||
|
@@ -43,6 +40,9 @@ CAROUSEL_DOT_TEXT=Item {0} of {1} displayed | |
#XACT: DatePicker 'Open Picker' icon title | ||
DATEPICKER_OPEN_ICON_TITLE=Open Picker | ||
|
||
#XACT: Aria information for the Date Picker | ||
DATEPICKER_DATE_TYPE=Date Type | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why "Date Type", in UI5 the corresponding text is "Date Input"? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is "Date Type" by specification. "Date Input" is legacy in the other project. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The text "Date Type" doesn't make any sense. What does it mean? What types of dates are there? Or is it "Type a date"? which is also strange. Please check with the specification owner what this means and what the logic is There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hi Vladi, I'd agree that "Date Type" string should be changed, but that's based on different concerns - I'll explain. The main usage of As standard ARIA roles are often not fully suited for our OpenUI5 controls, which could be confusing for blind people when using our framework, we used to provide a "custom role" (often the control's name) in Now, for most controls this transition went without a hitch. DatePicker however has a tiny detail - it deviates from its specification (which was correctly pointed out). It's original description was meant to be "Date Type", which would've been fine at the time (as So I see three possible choices for now:
Still, being the framework owners, we'd always comply with your preferences. Whether this is a proposal you agree with or you wish to try out a different approach - please let us know and we'll implement accordingly. Regards. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As discussed with the other accessibility experts - the text will be "Date Input" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks Gerogi for the detailed explanation. I'll change the text to "Date Input" as a final decision for consistency with the other project. |
||
|
||
DELETE=Delete | ||
|
||
FILEUPLOAD_BROWSE=Browse... | ||
|
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.
There is an eslint rule enforcing () despite priority for this line.
If you want, you can create a git pre push hook with the following content to avoid pushing eslint problems: