codethesaur.us
codethesaur.us copied to clipboard
Make Submit/Go/Run/Etc. Buttons Have "Open in New Tab/Window"
Description
I choose to Compare Two Languages. The GO--> button only allows for a Click, which will open the results in the current tab. This site is perfect for doing multiple compares, getting Reference Sheets, etc. But as it is now we have to go back to the main page repeatedly to do each action, which is a suboptimal user experience.
A Right-Click on any relevant button should present the user with the option of opening the outcome in a new browser tab as well as a new browser window in the popup window that appears.
Requirements
Alter code of relevant Buttons to provide the options described above. There may be concerns about what this means for other facets of the website's functionality.
Additional Notes
Hopefully this is very straight-foward, as many, many websites provide this functionality.
The button is basically a regular form submit button, which doesn't ever open things in new tabs. To do that, you'd have to change the button to be a link instead, and break the functionality of that and possibly accessibility of that. I can think on this, but what might be the use case for wanting to open multiple tabs of multiple comparisons?