#14795 closed defect (bug) (fixed)
Twenty Ten: move skip link earlier
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.8 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Bundled Theme | Keywords: | twentyten-a11y has-patch commit |
Focuses: | accessibility | Cc: |
Description
Having a skip link is good, not showing it when tabbing through the page is bad. These minor tweaks fix this and display it 'over' the header image.
Attachments (2)
Change History (21)
#2
@
15 years ago
Oh and ideally it shouldn't be called screen-reader-text as it is inaccurate. Sighted people who navigate using a keyboard find it useful as well.
#4
@
15 years ago
I like the idea here, but the styling isn't great -- no background, white text, full-width of the page, makes the link difficult to read, depending on the header image. Should be Helvetica to match the text in the menu, too.
#5
@
15 years ago
can you confirm which browser you used? the skip link background was supposed to be restricted to the same width as the the horizontal menu.
#7
@
14 years ago
- Milestone Awaiting Review deleted
- Resolution set to duplicate
- Status changed from new to closed
#8
@
4 weeks ago
- Component changed from Accessibility to Bundled Theme
- Focuses accessibility added
- Milestone set to 6.8
- Resolution duplicate deleted
- Status changed from closed to reopened
- Type changed from enhancement to defect (bug)
- Version set to 3.0
While going through testing the progress on #62238, I observed that Twenty Ten's skip links do not become visible and are placed in the wrong content order. While this is a very old theme, Twenty Ten does still have more than 60,000 active installations, and fixing this fundamental issue should be dealt with.
#9
@
4 weeks ago
- Summary changed from Twenty Ten Theme - skip link CSS fixes to Twenty Ten: move skip link earlier
This ticket was mentioned in PR #8329 on WordPress/wordpress-develop by @sabernhardt.
4 weeks ago
#11
- Keywords has-patch added
- Moves the skip link immediately inside the
<div id="wrapper">
. - Adds the
screen-reader-text
andskip-link
classes directly on thea
element. - Adds
:focus
styles to fit the theme.
@sabernhardt commented on PR #8329:
4 weeks ago
#12
#13
@
4 weeks ago
For child themes, I do not perceive any new problem due to having changes in both the header.php
and style.css
.
- If a child theme replaces the main stylesheet,
block-library/style.css
has default.screen-reader-text:focus
styles to show the skip link (with smaller text). - If a site replaces the main stylesheet and removes the
block-library
styles (for example, with the Disable Gutenberg plugin), then the skip link would not appear when focused. This hypothetical site should update the styles, but that case is no worse than the current situation without a child theme. - If a child theme replaces the
header.php
template, the custom template should be updated to fix the skip link's location and classes (if it was not done already).
This ticket was mentioned in Slack in #accessibility by nhrrob. View the logs.
3 weeks ago
#15
@
3 weeks ago
Test Report
Patch Tested: https://github.com/WordPress/wordpress-develop/pull/8329
Environment:
WordPress - 6.8-alpha-59840
OS - Windows
Browser - Firefox
Theme: Twenty Ten
PHP - 8.2.12
Active Plugin: None
Actual Results:
- Issue Resolved with Patch.✅
#16
@
3 weeks ago
- Keywords commit added
I agree with you that any issues with prior customizations are minor; the only case where this could cause problems is where an extender customized the CSS, but not the HTML. But even so, this will still work; it just won't have any custom design characteristics the author might have intended.
@joedolson commented on PR #8329:
3 weeks ago
#19
In r59857
from #14782