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

Html css popup #233

Merged
merged 6 commits into from
Aug 31, 2022
Merged

Html css popup #233

merged 6 commits into from
Aug 31, 2022

Conversation

DeamonFire
Copy link
Contributor

HTML-CSS-Popup

Demo |
Code base

The code is submitted in a dedicated feature branch.

Only code files are submitted.

Please, review.

@github-actions
Copy link

Hey!

Congratulations with your PR! 😎😎😎

Please, be sure you haven't followed common mistakes.

Also, be aware, that if you would silently ignore this recommendation, a mentor may think that you are still working on fixes. And your PR will not be reviewed. 😒

@DeamonFire
Copy link
Contributor Author

Hi, yes i checked my code according to all the parameters specified in the recommendation

Fixed alt and added aria-label
@A-Ostrovnyy A-Ostrovnyy self-assigned this Aug 27, 2022
Copy link
Collaborator

@A-Ostrovnyy A-Ostrovnyy left a comment

Choose a reason for hiding this comment

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

Good work!
Sorry for the late response.

submissions/DeamonFire/HTML-CSS-Popup/css/style.css Outdated Show resolved Hide resolved
submissions/DeamonFire/HTML-CSS-Popup/index.html Outdated Show resolved Hide resolved
submissions/DeamonFire/HTML-CSS-Popup/index.html Outdated Show resolved Hide resolved
submissions/DeamonFire/HTML-CSS-Popup/index.html Outdated Show resolved Hide resolved
@A-Ostrovnyy
Copy link
Collaborator

Also, don't forget about mobile version
image

…nged the description in some alt tags 4. Added adaptive
@DeamonFire
Copy link
Contributor Author

Hi, I fixed the comment

Copy link
Collaborator

@A-Ostrovnyy A-Ostrovnyy left a comment

Choose a reason for hiding this comment

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

Good progress!

Comment on lines 217 to 227
<li class="header__menu_block">
<a href="#" class="header__menu_block_link">
<img src="popup-icons/bell.png" alt="Sign up for updates" class="header__img">
</a>
</li>

<li class="header__menu_block">
<a href="#" class="header__menu_block_link">
<img src="popup-icons/account.png" alt="Go to your account page" class="header__img">
</a>
</li>
Copy link
Collaborator

Choose a reason for hiding this comment

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

What about these alts?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can you tell me what this error is, I can't figure it out on my own (

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I rewrote them more succinctly. Need to remove alt tags from these icons? But without the voiceover element, they will be invisible to the screen reader

Copy link
Collaborator

Choose a reason for hiding this comment

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

Look, for images inside the link in the popup you set an empty value for alt attribute but for images in the link, you set the text value for the alt attribute. Try to use a single approach for all images.)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ні, I fixed it
I hope my solution to this comment is correct =)

Copy link
Collaborator

@A-Ostrovnyy A-Ostrovnyy left a comment

Choose a reason for hiding this comment

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

Good progress!

Copy link
Collaborator

@A-Ostrovnyy A-Ostrovnyy left a comment

Choose a reason for hiding this comment

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

Well done!

@A-Ostrovnyy A-Ostrovnyy merged commit 7a9efd4 into kottans:main Aug 31, 2022
drewzag pushed a commit to drewzag/frontend-2022-homeworks that referenced this pull request Aug 31, 2022
* HTML-CSS-Popup is done

* changed the list navigation

* Fixed alt and added aria-label

Fixed alt and added aria-label

* 1. Removed extra empty lines 2. Added an alt tag to all images 3. Changed the description in some alt tags 4. Added adaptive

* 1. fixed behavior of elements when hovering and focusing 2. more succinctly described alt tags

* alt tag correction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants