Open blazebarsamian opened 6 years ago
aria-pressed
true
and then clicking it again changes the value back to false
^ add this to the Expanding columns and to the drawer(?) too-- basically anything that toggles will need this. @blazebarsamian @CheetoMao I'm assigning myself to help out with some of the checklist since I have some spare time this week!
yes please @brittanygay!! Im supposed to start working on these updates this week. I feel like I'm missing more of the name, value, role examples that we need to include but I haven't found examples.
I was about to start looking into how to add props to our input components to add name, role, ect.
I've been messing with some form elements and using voice over to read off the page and test.
When I inspect the elements, the name and role attributes are there but are not being read. Looking into this more now.
From what I understandl the purpose of name, role and value is just for the software to understand what the custom controls are so the screen reader is not confused with a div or span.
https://accessibility.huit.harvard.edu/provide-name-role-and-value-information
I checked our checkboxes using the wave accessibility tester and they pass even though the voice over doesnt verbally read out the names of the checkboxes.
Update: I'm going to move this back to icebox until I can get back to work on it (It looks like ill have some time this week).
I need to get someone to pair with me for the esc-to-dismiss functionality for modals. I've tried to figure it out myself but I think I'm missing something.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Inputs should have a name="" attribute
In most cases this is fine. There will be cases when this is not a good idea to do. Having a name
attribute for an input in a form means the value will be sent to the server when submitted. For things like credit cards, crypto secrets, and personal id numbers, we may not want to send them to the server.
That's the only caveat. Just wanted to make sure to say it out loud.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
In order to follow WCAG standards, we need to make a few updates to our components to provide a more accessible experience.
See education ticket that covers the standards.
Heres a list of where these updates need to happen:
Language:
Inputs:
name=""
attributeNav:
role=" "
attributeMenu:
role="menu"
attributeLinks styled as buttons:
role=""
attribute so you can declare the role asrole="button"
Flash message, Tooltips, Modals, dropdowns, CloseButton:
Images:
Buttons:
Expanding columns:
Lintomat checks to add:
<html lang="en">
name=""
assigned to themname=""
assigned to themname=""
assigned to the Input inside<InputGroup.Field>
<Menu.Item>
has arole="menu"
assigned to them (This goes for the menu component as well as the topbar component)role="button"
<CloseButton>
component is used, check to make sure whatever it is closing is also dismissible with the esc keyNEW Rules to add to lintomat after March 30th: