-
Notifications
You must be signed in to change notification settings - Fork 13
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
Classic and Hugo render Finish button aria-label naming discrepancy #307
Comments
That is not the full picture. With the classic renderer that label was usually filled in from the So technically I believe it could be different for every workshop and so basing styling on the value of In the Hugo based renderer you can not at the moment override the labels of buttons to go to next page or for end of workshop and so it uses So you were possibly lucky that styling wasn't being broken for specific workshops as people were using the generated default in How was the value of |
@GrahamDumpleton thanks for the context. I asked @danielramirez0 to submit this to get the background on the difference.
Spring Academy hides the finish button and work area controls in its embedded Educates theme styling. The idea is to keep the lesson completion UI controls driven from Spring Academy. I spot checked our classic content, uses the "Finish" exit sign in the module configuration. @danielramirez0 worked around the discrepancy by including both the default classic renderer and hugo renderer finish buttons in the selectors that hide the buttons. @joemoore @danielramirez0 please add anything I've missed here. |
Going forward, right now I think it still make sense to leave I don't really know what best practices are for |
Another option is to add a consistent semantic The "Continue" button semantically invites the user to go to the next page, so semantically The "Finish Workshop" button semantically invites the user indicate they are done with the workshop, so semantically As long as there is a consistent semantic attribute on the two semantically different buttons then we can handle the two differently as needed. |
Describe the bug
Hugo renders the lesson Finish <button> with an aria-label="finish", while the classic renderer uses aria-label="Finish". When applying/updating theme/styles after changing from classic renderer to Hugo, this caused unexpected changes in elements displayed in the UI.
Additional information
No response
The text was updated successfully, but these errors were encountered: