Skip to content
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

2025 - Images: Make tabbable #2387

Merged
merged 15 commits into from
Jun 19, 2019
Merged

2025 - Images: Make tabbable #2387

merged 15 commits into from
Jun 19, 2019

Conversation

davidcarlsonberg
Copy link
Contributor

Explain the details for making this change. What existing problem does the pull request solve?
Images were not tabbable. Focus state was off in Firefox and IE.

Related github/jira issue (required):
Closes #2025.

Steps necessary to review your pull request (required):

@davidcarlsonberg davidcarlsonberg changed the title 2025 - Images made tabbable 2025 - Images: Make tabbable Jun 17, 2019
@tmcconechy
Copy link
Member

Is it just me? But im not seeing the focus styled as expected on chrome mac. Im seeing the default one as if the rules are not applying.

Screen Shot 2019-06-17 at 1 52 29 PM

On all pages http://localhost:4000/components/images I did restart a bunch of times

Copy link
Member

@tmcconechy tmcconechy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not seeing the correct visual focus state

@davidcarlsonberg
Copy link
Contributor Author

davidcarlsonberg commented Jun 17, 2019

@tmcconechy What should be the correct visual focus state?

@tmcconechy
Copy link
Member

Should be the same as http://localhost:4000/components/input/example-index.html

Screen Shot 2019-06-17 at 2 34 42 PM

But you were using the mixin. So not sure why. Seems like its not applying the rule

  border: solid 1px #368ac0;
  box-shadow: 0 0 4px 3px rgba(54, 138, 192, 0.3);
  outline: none;
  outline-color: transparent;

src/components/images/_images.scss Outdated Show resolved Hide resolved
@tmcconechy
Copy link
Member

Hmm ok @EdwardCoyle but now i see on this comment #2025 (comment) he said it was fine. I dont see the point of only fixing this in ff and IE.

So i think lets maybe make it work everywhere but they can opt-in by adding the tabindex if they want it to be focusable. So both situations would be possible

tmcconechy
tmcconechy previously approved these changes Jun 18, 2019
Copy link
Member

@tmcconechy tmcconechy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍌 🍾

@tmcconechy tmcconechy merged commit e93a316 into master Jun 19, 2019
@tmcconechy tmcconechy deleted the 2025-tabbable-images branch June 19, 2019 12:26
@davidcarlsonberg davidcarlsonberg restored the 2025-tabbable-images branch June 27, 2019 13:40
@davidcarlsonberg davidcarlsonberg deleted the 2025-tabbable-images branch June 27, 2019 13:40
@davidcarlsonberg davidcarlsonberg restored the 2025-tabbable-images branch June 27, 2019 15:05
@davidcarlsonberg davidcarlsonberg deleted the 2025-tabbable-images branch June 27, 2019 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Accessibility - Need a Tabbable Profile Image
3 participants