Opened 17 hours ago
Last modified 45 minutes ago
#65488 new defect (bug)
#wpfooter unavailable on 200% zoom (WCAG 1.4.10 Reflow (Level AA))
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | General | Keywords: | has-patch |
| Focuses: | accessibility, css | Cc: |
Description
There is CSS that intentionally hides #wpfooter on mobile.
@media screen and (max-width: 782px) {
#wpfooter {
display: none;
}
}
The footer holds important information about the current WordPress version and can be extended by themes and plugins to hold other important links or information.
If a user has low vision and is zoomed in 200% or more, they do not have access to any information in the footer. This is a failure of WCAG 1.4.10 Reflow (Level AA).
How to test:
- Set your browser width to 1280 CSS pixels wide.
- Go to the main dashboard page in the admin.
- Zoom your browser and observe that the footer disappears.
The footer should stay visible up to 400% zoom, which can be achieved by removing this CSS.
Change History (5)
This ticket was mentioned in PR #12226 on WordPress/wordpress-develop by @abcd95.
10 hours ago
#2
- Keywords has-patch added
@abcd95 commented on PR #12226:
9 hours ago
#3
Perhaps we can also improve the look and feel of the footer once this is agreed upon -
-
src/wp-admin/css/common.css
diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css index e10530257b..5b92786c44 100644
a b img { 4221 4221 } 4222 4222 4223 4223 #wpfooter { 4224 margin-left: 0; 4224 display: flex; 4225 flex-wrap: wrap; 4225 4226 } 4226 4227 4227 4228 #comments-form .checkforspam {
@sabernhardt commented on PR #12226:
45 minutes ago
#5
Please do not switch the footer display to flex on a bugfix ticket.
- With only
display: flexandflex-wrap: wrap, the two default paragraphs can stack nicely in a development version, where one of the paragraphs is very wide. However, most sites would have shorter paragraphs running together on the left. - In theory, the footer could also have
justify-content: space-between, but then the#wpfooter .cleardiv would need to be hidden or removed. - Plugins can add anything before these two paragraphs with the
in_admin_footeraction. A directory search found 160 plugins that use the hook in some way. This shows an extra div withflex,wrap, andspace-between:
Introduced in [26134]