apertium-html-tools
apertium-html-tools copied to clipboard
Clicking on the Apertium logo and cancel button issues
Conventionally clicking on the logo of a website takes users to the home page. When I click on the Apertium logo, nothing happens. I think this is a small but essential detail in the user interface. I will try to make this change and link PR to this issue.
Is there a historical reason why the logo is not clickable?
Where would the logo take you? html-tools is an SPA.
It should work like the current "cancel" button in Apertium's case. I forgot to mention it.
It should work like the current "cancel" button in Apertium's case. I forgot to mention it.
🤷♂ Usually the logo-link is used as a way to provide a Home
button. I'm not sure what benefit having both Cancel
and the logo accomplish the same thing adds but I don't have a strong reason to oppose it either.
I think it is really annoying and I still accidentally click the logo to go back. I think it is good to comply with the trends that improve user experience.
Also, IMO, calling the Go Back
button Cancel
is not right. AFAIK, Cancel
buttons are usually used for stoping users from possible accidental/harmful changes or actions they can do.
Some examples [Situation] -> [Possible Buttons]:
- "Do you want to delete file X?" ->
Cancel/No
Yes/Confirm/Ok
- "Do you want to proceed with the payment?" ->
Cancel/No
Yes/Confirm/Ok
- "Do you want to subscribe to the newsletter?" ->
Cancel/No
Yes/Confirm/Ok
- "Operating system file open dialog" ->
Cancel
Open
- "Buttons at the end of a user profile" ->
Cancel
Update Profile


Even a quick Google or DuckDuckGo search shows red buttons with X
symbol. There is no single Cancel
button with ←
that connotes going back to the previous page/view.
In Apertium's case, Cancel
button is shown on webpage or document translation pages/views and it is not there to stop an action. I think it would make a lot of sense if a Cancel
button was shown during the translation process to stop the translation to start a new translation in the same category. For example, clicking the Cancel
button during a document upload would stop upload/translation and show a new document upload page rather than taking me back to the home page/view, where the text translation section is located.
tl;dr
IMO, the Cancel
button should be renamed to something like Go Back
, Back
, Home
, or something that really connotates going back to the page or view that users first encountered.
Also, IMO, all Cancel
buttons should be in the same or similar place across the website, as you have mentioned in issue #338. To achieve this, we can completely get rid of the Cancel
button and have buttons for each section instead. This also future-proofs us if we have OCR or additional methods in the future and helps us not to worry about where to and how to place a Cancel
button. Of course, the design below is just a suggestion. Doing this change would automatically resolve issues #338, #358, and #359.

Here are some other articles to get other people's opinions on the button selection issue: https://uxdesign.cc/the-microcopyist-cancellation-confirmation-conflagration-8a6047a4cf9 https://uxplanet.org/5-essential-ux-rules-for-dialog-design-4de258c22116 https://uxdesign.cc/buttons-placement-and-order-bb1c4abadfcb https://community.uxmastery.com/t/cancel-button-vs-back-navigation/1325 https://www.nngroup.com/articles/cancel-vs-close/
Bonus Bug:
If I translate a webpage and then drag a file into the browser for translation, I end up getting two Cancel
buttons:
Yeah, I don't remember exactly why we called it Cancel
instead of Back
. I recall there being some bikeshedding but it was a while ago. I prefer the latter but it's a bit painful to implement in terms of breaking all the existing localizations which realistically speaking, are very hard to get fully updated.
A re-design of sorts like the one you suggest might also be a good idea.
Hey @sushain97 like clicking the logo button means refreshing the page so we can just refresh the page wont it work?
Refreshing the page instead of just resetting the UI is definitely sub-par UX.
@sushain97 It will take more time than any other operation but i think it is the accurate thing to do.If there is any other method please tell
This is now at least 3 issues, but some decisions need to be made.
- Click on logo to reset UI (imho a good idea and obvious feature to have).
- Add cancel buttons for uploads, in-process translations, etc. (perhaps some of these things are hard to in fact cancel, but we could at least have the UI immediately let the user do other things and simply ignore the result?)
- Redesign the UI around current "canceling", perhaps in part by reconceptualising it as "back" (requires adding a localisation string, but I don't think that should stop us), and perhaps in part through some adjustment to the layout.
-
click on the logo and the UI refreshes feature has been done by me i will make PR for it.
-
Adding cancel buttons for in-process translations would not be useful IMO. but one thing can be done that while we click on translate sometimes it could take a while to load and we get a loading icon in the centre so for that time period if the user changes his mind and wants to terminate we can display the cancel button for that loading time period. Do tell me your opinion about this.
@jonorthwash do tell me if i can add something to it and then i will make the PR
That sounds reasonable to me, yes. I think we had some sort of spinner at some point, though? @sushain97?
I think we have a spinner on the whole page during a request. I don't think it's particularly useful to provide a button to cancel an in-flight request since the in-flight request doesn't block any UI interactions. I think we already cancel them automatically if you change what you've typed.
okay i agree with @sushain97 . So shall i make a PR for just the refresh of the page by clicking the logo?
Again,
Refreshing the page instead of just resetting the UI is definitely sub-par UX.
Hi @sushain97 , @TinoDidriksen I would like to solve this issue, can you please assign me ?
@prsndp, ditto as before - just make a PR.
I have resolved the problem of cancel button
Should I make a PR @sushain97
Sorry, what exactly have you solved?
Before
After resolving the issue
The only difference I see is that the Cancel
button has moved. As far as I can tell, that does not resolve this issue.
Hi! @sushain97, @woswos is right about the button it should be renamed as "back" or "go back". In the current scenario, it is good to call cancel instead of "back". Here url cancel button also should be renamed as "back".
Is anyone currently assigned to the issue?