-
-
Notifications
You must be signed in to change notification settings - Fork 185
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
html-css-popup #48
html-css-popup #48
Conversation
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.
Good work! See some comments below =)
</li> | ||
<li class="popap__item"> | ||
<a href="#" class="popap__link"> | ||
<img class="popap__link-icon" src="icons/mail.png" alt="icon"> |
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.
For icons it's better set an empty alt attribute, read more here
<li class="navbar__item"> | ||
<a href="#" class="navbar__link">Images</a> | ||
</li> | ||
<li class="navbar__item popap"> |
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.
Please, replace popap
with popup
everywhere in project, it is a typo.
<img class="popap__trigger-icon" src="icons/popup-button.png" alt="icon"> | ||
</label> | ||
<div class="popap__body"> | ||
<input class="popap__input-more" id="popap__more" type="checkbox"> |
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.
You need move this input
because when you navigate with tab
, focus should be at icons first, and on More
after icons.
Added attribute tabindex because when you navigate with tab, focus should be at icons first, and on More after icons.
I fixed all. Please, check the changes. |
Great work! Almost done |
Took away the opportunity to interact with "hidden" icons when I navigate with a tab.
I fixed this bug. Please, check the changes. |
HTML і CSS практика: Hooli-style Popup
Demo |
Code base
The code is submitted in a dedicated feature branch.
Only code files are submitted.
Please, review.