-
Notifications
You must be signed in to change notification settings - Fork 159
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
Middle click to file/folder open in new tab #2317
Comments
Also, consider making the name link/button. I guess without it it could be an accessibility issue. @marcus-herrmann pls clarify. |
For that behavior for folders the trigger needs to be a link, linking to the route with the folders contents: e.g. https://phoenix.owncloud.com/custom/phoenix/index.html#/files/list vs https://phoenix.owncloud.com/custom/phoenix/index.html#/files/list/First. For files I think it should be a button, given a click will make the oc-file-actions dialog visible everytime (right? Or are there occasions where a file will be downloaded directly? In this case it should be a link again, with a Right now both file and folder triggers are not interactive, semantically speaking. Assistive technology cannot detect that there's a click event listener on the Rule of thumb when it comes to links vs. button:
|
There are at least three possible actions:
The above is for left click. If we use a button there it is likely that middle click will not work ? |
@PVince81 The concept of "Middle click" is not standardized in any way, I'm not sure what you are refering to exactly. |
@marcus-herrmann with "middle click" I mean "open in new tab" which is also accessible from the context menu. In general that functionality only works for links that have an href defined |
If a state, in this case a particular file, has an unique URL, a link should be used. Currently in phoenix that is not the case, so the "editor" trigger should be a button.
If middle click maps to open in new tab: correct. As you said: only links can be opened in new tabs/windows.
If this usage pattern stays there will be urgent need for focus management in this case if the "actions" can't be solved with the disclosure widget pattern (as of now "actions" has more of a "dialog character") |
@PVince81 Stepping one step back: I would label adding the correct semantics for folder and file controls not as enhancements, but crucial, therefore "Bug". As of now the File/Folder controls are not operable via Screen Reader or keyboard. |
Superseded by more recent #11222 |
When clicking on a folder with middle click or right click + open in the new: it should open the file app in the clicked folder into a separate tab. (this was the case with OC 10)
For files, we should think whether we also open the editor there. This would require a default action.
The text was updated successfully, but these errors were encountered: