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
Accessibility - Need a Tabbable Profile Image #2025
Comments
@tmcconechy looks like the example we're pointing to a Blockgrid. Does the selection API support having a focus state already? |
So thinking for these image-sm etc classes we add a focus state around it and add a tabindex and ensure there is alt text. So more the other two examples as your right block grid has a selection /focus api we could use. So fix all three of these: |
After re-reading a bit, I'm not sure that changing our display CSS classes for images is the right way to fix. We have the Blockgrid API for the list of images that can handle selection and keyboard nav, if there's a list of things that need selecting. As for standalone images, I don't think we should be making them all focusable with state management. Images aren't form components by default, so we shouldn't be changing those defaults except for specific cases. @508it, is this not something that could be solved by simply adding a |
ON the page in the app its a profile image. I probably shouldn't have linked that whole folder as it caused confusion. What they wanted was a single image which is a profile pic. So a class/style for the focus state (when they add a tabindex on it). At the moment adding a tabindex wont add any style. So mostly making sure http://master-enterprise.demo.design.infor.com/components/images/example-index.html will work if there is a tabindex on it. But looped in the other pages. |
Right or i was thinking make it the same as our input focus states. And just generally making sure the examples all have alt tags and work well accessibly. |
If we can, make a "focus" mixin, and then refactor the css to include those styles everywhere. That way if we change the focus state in one place, it changes it everywhere. |
We have a sass variable for it actually https://github.com/infor-design/enterprise/blob/master/src/core/_config.scss#L28 or at least part of it but this could be cleaned up (its both the box-shadow and the border around) |
QA Failed. Focus not working in MacOS Mojave Firefox browser. |
Really weird...
Im not sure what we can do. |
What OS are you using in Bs? |
Mac (Mojave + Firefox 67) -> so its the same OS and browser as i am actually using. I also tried + and minus a few versions of FF on browserstack and non seem to work. |
http://localhost:4000/components/images Do we need @pwpatton 's approval to move this to Done? |
So what are we missing exactly in landmark? fyi: @vonnyw |
@pwpatton just make sure to use the classes like |
@brianjuan just moved to done |
Changing the code to have a tabindex=0 does in fact fix landmark. |
Tab index works but we don't have a focusable style available for custom sized images. In landmark, we size images ourselves based on the LPL definitions. |
Just to clarify.
|
Moving this ticket to QA Failed. Focus is not visibly on the Placeholder images. -MAC FF
|
I think the question here is, "Should a placeholder image have be tabbable/focusable?" |
I think so @davidcarlsonberg as its an "image" as well. The use case is the image is missing so they can use that placeholder instead. But there could be a case where it has a menu attached or something that would require it to be focusable. |
This is both a |
http://localhost:4000/components/images/example-index.html |
Unfortunately I doubt there is anything we can do about firefox having different behavior. So i suggest we ignore this for now. |
Got it @tmcconechy , will now move this to Done and will retest once beta is deployed. |
Describe the bug
The profile image on the At A Glance page should be focusable, so to do this we need a tabbable image class in EP
To Reproduce
Steps to reproduce the behavior in Landmark
In EP This translates to:
Expected behavior
Visual focus should move to the image after user tabs and display a visual indicator
See also
https://jira.lawson.com/browse/LMCLIENT-24216
The text was updated successfully, but these errors were encountered: