-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Improve Permalink UI placement and tab order #5494
Comments
Asking out of genuine curiosity and don't have a strong opinion myself. Why is this the ideal situation? What happens if in the future the title becomes a block, and editing the permalink becomes something you do, perhaps, as a document property instead (i.e. either as sidebar option, or perhaps a block toolbar attached to the document block itself, if such a one appears in the Gutenberg customization focus). |
Test it using only the keyboard. Then imagine you can't see and you're not familiar with the UI yet. How would you even be aware something appeared before the post title? Navigating content for keyboard and screen reader users is a linearized experience. If at some point something appears in the UI before the current focus, that's a problem. |
No absolutely, but I don't know why I'd necessarily assume that the permalink was editable as part of the body content at all. I might assume it was a document setting, metadata so to speak. Not necessarily objecting to this ticket, nor suggesting alternative solutions yet. If anything I'm saying that the current Gutenberg permalink UI is suboptimal, and might need a rethink. |
Sure, a new UI can certainly be evaluated. For now, I can only test and suggest improvements on the current UI 🙂 |
Is there any chance we can close this then judge on new UI? That feels better to me on this. To me iterating on the PR would be a better way through, maybe? |
@karmatosed where is the new UI? I'll close this when I'll see the new UI. 🙂 |
The new UI this issue refers to has design screenshots at #5756 and was shipped on 2018-04-15. I checked the markup just now and found that the permalink editor now appears after the post title, and I also see that the tab order has been adjusted to: post title -> permalink UI. Ok to close? |
There are still a couple issues to address: 1 2 |
Discussed during today's accessibility bug-scrub, this is still a big issue especially for keyboard users. |
Re-tested with WordPress 4.9.8 and Gutenberg 4.2.0 today and am reiterating the current tab order and the steps to confirm the current behavior:
Proposed changes:
Or:
Screenshot showing the current permalink UI:
|
One more issue to consider, always related to the permalink UI placement, is the scenario when a notice is displayed: In this case, clicking on the title field doesn't make the permalink UI visible: it's there, behind the notice. Yes, it's always possible to close the notice but it completely hides the permalink UI, and it's potentially very confusing for users. |
We have a new panel for permalinks now #11874. We didn't remove this UI yet because we're passed UI freeze but it should be considered deprecated. If there are issues with the new panel, let's open separate issues thanks. |
Reopening. A few months have passed and this UI is still in Gutenberg. The accessibility problems reported here still need to be addressed. The permalink UI was also audited in the WPCampus / Tenon report and reported as problematic for accessibility, see #15298. Either all the accessibility issues should be solved or this UI should be finally removed in favor of the permalink UI in the sidebar. As mentioned in the comment above and also on this other comment, the current UI is candidate for removal since a few months. See also related #11553. |
Yesterday the new permalink UI has been refined and made fully functional in #12009. Some related issues have been closed see #7129, #12714, #12031. The accessibility issues of the old UI are still here though, waiting to be solved since March 2018 which is two years now. At some point the old UI was considered for removal:
As accessibility team, we have been confident that the new UI would have made the old one redundant. It's still there though. At this point, after two years. this issue needs to be solved soon by:
|
This issue was discussed during today's Accessibility Team meeting. Now that #12009 has been merged, we think that the concerns raised on #12031 (comment) have been addressed and suggest we go ahead and remove the old permalink UI. |
Once #5414 is finalized, the placement and tab order of the permalinks UI should be improved for better keyboard accessibility. Right now, the Permalinks UI appears before the post title:
Not speaking about its visual placement. Considering its placement in the markup, the tab order is far from ideal and currently forces users to tab backwards from the post title once the permalink UI appears. This applies to all keyboard users. Screen reader users wouldn't have any clue something appeared on the screen.
Ideally, the tab order should be different: post title -> permalink UI.
The text was updated successfully, but these errors were encountered: