Comments (4)
hey there,
This is awesome, the extra ARIA help is much appreciated. Thanks for taking the time to submit this. There are a few points I am a bit confused by though.
- I am not sure I understand what "associated text" means in this case, any insight?
- I am not sure this is correct, but maybe i am just missing the documentation. This here doesn't make mention of needing an explicit role. That would totally make sense if I was using
<span>
tags, but buttons have implicit roles, any thoughts? - oops, yeah typo! Already fixed upstream
- This makes sense, but I am not sure what to do about it, I could use the datepicker-input as the the "anchor" in the DateTimePicker widget,
but in the case of the calendar, there are noduh, i can just set it to zero or pass down tabIndex from datepickertabIndex
>= 0 elements to use, and setting one would mess will a user's own tabIndex - Any thought on how I would fix that?
<tables/>
can't have a name attribute as far as I know. - Fixed!
from react-widgets.
- This is a tool output for this: Associate text with each FORM control that is not of type "hidden". INPUT controls of type "submit", "reset", and "button" require text to be set in the "value" attribute. INPUT controls of type "image" require text to be set in the "alt" attribute. All other FORM controls are associated with text via the LABEL element. A LABEL is attached to a specific form control through the use of the "for" attribute. The value of the "for" attribute must be the same as the value of the "id" attribute of the form control.
So it I think it goes down to adding a label. - I get this from the tool: "An element that does not have a role must reference only valid WAI-ARIA global properties to enable compatibility with assistive technologies.
Here is the list of WAI-ARIA global properties that may be applied to any element. Properties that do not appear in this list are considered widget specific properties (e.g., aria-pressed).
-aria-atomic
-aria-busy
-aria-controls
-aria-describedby
-aria-disabled
-aria-dropeffect
-aria-flowto
-aria-grabbed
-aria-haspopup
-aria-hidden
-aria-invalid
-aria-label
-aria-labelledby
-aria-live
-aria-owns
-aria-relevant
-aria-required"
It's not on the list, so I guess it needs to have a role. - Nice.
- Yeah. It's a tricky one.
- I get this: "To help users navigate a page, WAI-ARIA widgets must have an accessible name specified with aria-label, aria-labelledby or the widget's inner text."
So maybe aria-label would suffice.
from react-widgets.
So is there a chance for remaining to be fixed anytime soon?
from react-widgets.
Hey there. I have a few fixed in master I just need to get around to bumping and releasing maybe tomorrow
- Isn't an issue with the widget persay, providing a name prop to the datepicker will fix this.
- I don't think I agree with your tool here, buttons have roles and explicitly setting it is weird. So for now I am leaving it alone
- Fixed
- Fixed
- I'm not sure about this. Labelledby doesn't make sense here and the table is not really a widget its a part of one, for now I'm passing until I can look into it more
- Fixed!
from react-widgets.
Related Issues (20)
- feature: change caret to X on combobox
- Multiselect defaultValue doesn't refresh when props value changes HOT 1
- Combobox has unexpected behavior when using hideEmptyPopup
- findDOMNode is deprecated in StrictMode - error HOT 7
- Error finding scss files.
- Calendar: Add option to display week numbers
- Add tailwind 3 support
- Add !default to $max-height in popup.scss
- Deprecation warning with `sass 1.62.0` HOT 2
- Custom tagListComponent HOT 1
- Unable to set tabindex on footer of calendar widget
- How to stablish the value on open DropdownList HOT 3
- Achieved
- Tailwind: [WARNING] "zindex" is not a known CSS property [unsupported-css-property] HOT 1
- Multiselect - Sort tags and options alphabetically HOT 1
- DatePicker monthFormat in version 5
- Virtualized MultiSelect
- Can not set DatePicker input id via inputProps
- Chrome crashes when using DropdownList Component HOT 4
- deprecation warning; !default should only be written once for each variable.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-widgets.