-
Notifications
You must be signed in to change notification settings - Fork 437
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
Header and navbar refactoring #2656
Comments
I'd like to work on this refactoring, as I've already done this for some customised themes. the estimated effort is 8 hours. |
This is directly related to #2368 . We currently have accessibility issues with the header because of the repeated @davide-negretti : I'll assign this to you. Thanks for volunteering! Just keep in mind that any changes here need to pass accessibility tests (in our e2e tests, and using a browser accessibility scanner like axe DevTools) |
@tdonohue The refactoring of header and navbar is almost complete. It took longer than expected as there were a few issues with Bootstrap classes that were used incorrectly, and the navbar section components had a lot of complex CSS code that caused any small change to break something somewhere else (I removed most of the CSS styles and achieved the same result through Bootstrap classes). |
Ported to 7.6.x in #2858 |
The current code of the header and navbar have some issues:
This is the current structure of the header (for the DSpace theme):
<header>
<nav>
– Mobile header (hidden on desktop mode)<nav>
This could be simplified as follows: all duplicate code should be removed and Bootstrap features should be used in order to handle desktop and mobile modes:
<header>
These changes should also make easier to handle dspace and base themes.
The text was updated successfully, but these errors were encountered: