You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The editor has a feature that on edit, the initial focus goes to the Title block. This is only true the first time you edit any content, then the subsequent edits, the focus is not there.
To Reproduce
Steps to reproduce the behavior:
Go to any content as admin
Click on Edit
The title block is focused correctly.
Save, or cancel.
Edit again
The title block is no longer focused.
Expected behavior
The title block is focused all the subsequent times you edit a content.
Software (please complete the following information):
ensure that when users navigate sequentially through content, they encounter information in an order that is consistent with the meaning of the content
Autofocus can be confusing for non-visual users such as those with a screenreader, as you skip over all the information which may have come before it and lose context. Because of this ambiguity, it would ultimately be up to the interpretation of the auditor on whether this passed SC 2.3.4 or not.
Do not set initial focus when the page loads except in cases where:
The page offers a single, primary function that nearly all users employ immediately after page load.
Any given user is likely to use the page often.
Based on the above, we would have to decide whether the information prior to the title block is relevant to everybody or not and that would be the deciding factor for the accessibility of this. Another consideration is whether you would want different behaviour between adding content and editing existing content, as you're much more likely to understand the context of why the focus is on a title field after pressing "Add" (as whatever you are adding would need a title) than if you were to try and edit something (which already has a title and so you might not want to be changing it).
TLDR: It's definitely worth fixing this bug so the behaviour is consistent, but the actual autofocus behaviour needs some research.
Describe the bug
The editor has a feature that on edit, the initial focus goes to the Title block. This is only true the first time you edit any content, then the subsequent edits, the focus is not there.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The title block is focused all the subsequent times you edit a content.
Software (please complete the following information):
Present in https://demo.plone.org
/cc @tisto @plone/volto-accessibility
The text was updated successfully, but these errors were encountered: