#59033 closed defect (bug) (fixed)
Credits: Focus outline is cut off
Reported by: | wildworks | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 6.4 | Priority: | normal |
Severity: | trivial | Version: | |
Component: | Help/About | Keywords: | good-first-bug has-patch commit |
Focuses: | Cc: |
Description
On the credits page, when I focus on the Noteworthy Contributors user, the outline is cut off.
On Windows OS, the result is as follows:
- Chrome cuts the left side to the outline.
- Firefox displays a portion of the outline above the avatar image.
Attachments (8)
Change History (26)
#1
@
16 months ago
- Component changed from General to Help/About
- Keywords needs-patch good-first-bug added
- Milestone changed from Awaiting Review to 6.4
- Severity changed from normal to trivial
This ticket was mentioned in PR #4986 on WordPress/wordpress-develop by @ivanzhuck.
16 months ago
#2
- Keywords has-patch added; needs-patch removed
Corrected the CSS styles
#3
@
16 months ago
Css fix to the focus outline.
Code here:
.about__section a:active, .about__section a:focus, .about__section a:hover { color: var(--accent-1); text-decoration: none; outline: 1px solid #2271b1; }
#4
@
16 months ago
I think the whole card of contributor is a link (picture + name). So the focus outline should be around them instead of framing only name. I released a fix for it, please review.
#5
@
16 months ago
I got the chance to test this issue and the fixes by this patch look good to me. https://github.com/WordPress/wordpress-develop/pull/4986
Test Report
Patch tested: https://github.com/WordPress/wordpress-develop/pull/4986
Env
- WordPress - 6.4-alpha-20230817.203813
- Web Server: Nginx
- Chrome Version - 115
- Safari Version - 15.4
- Firefox Version - 116.02
- Opera Version - 101
- OS - macOS
- Theme: Twenty Twenty-Three
- PHP - 7.4.0
- Active Plugin - None
Test result
Works fine on the credit page now. Tested on macOS Chrome, Firefox, Safari, and Opera.
After the patch-
Chrome:
Firefox:
Opera:
Safari:
@sumitbagthariya16 commented on PR #4986:
15 months ago
#6
#9
@
14 months ago
I tested the patch, it works as expected. And it's definitely better than before, but the ideal will be a nice outline that doesn't stick to the image or text.
#10
@
14 months ago
@oglekler
I added a bit empty space about the cards so the outline doesn't touch text/images/other elements.
This ticket was mentioned in PR #5416 on WordPress/wordpress-develop by @oglekler.
14 months ago
#11
Nice looking outline
Trac ticket: https://core.trac.wordpress.org/ticket/59033
#12
@
14 months ago
Nice, thank you, @ivanzhuck
I made another adjustment to keep the distance between elements like they are now. This is your turn to check the patch )
Let's see if @marybaum thinks that it is ready to commit or there is someting else to do.
#13
@
14 months ago
@oglekler
Thank you for the patch, the spaces between cards look totally perfect now)
@SergeyBiryukov commented on PR #4986:
14 months ago
#17
Thanks for the PR! Merged in r56826.
@SergeyBiryukov commented on PR #5416:
14 months ago
#18
Thanks for the PR! Merged in r56826.
Chrome