-
Notifications
You must be signed in to change notification settings - Fork 438
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
Minor header button improvements #2527
Minor header button improvements #2527
Conversation
Chase accessibility changes to header and navbar in dspace-angular. See: DSpace#2527
Thanks @alexandrevryghem. Tested by applying to my local DSpace 7.6 development environment and updating my own custom theme (based on the If we merge this we need to make sure people know that they will most likely need to update their custom themes. |
…e search field non-focusable when collapsed
fb85529
to
e52fad2
Compare
Yeah that's a good idea: instead of copying the SCSS with the component to a theme, importing it instead and overriding the only styles you need. Less duplicated code that goes out of date... Anyways, I'm +1 on this by testing now. There are tiny differences in the spacing of the buttons, but the functionality is the same. If this addresses the Deque accessibility feedback then I'm in support of merging it. |
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
e52fad2
to
2ace942
Compare
@alexandrevryghem : It appears that e2e tests are failing on this PR because it introduces a new accessibility bug. Here's the details provided by our Axe accessibility scanner (which runs in many e2e tests)
|
… an ul tag containing non-li tags
2ace942
to
fa56d5d
Compare
@tdonohue I indeed forgot to check if the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Thanks @alexandrevryghem ! Finally got to testing/reviewing this and it all looks good. I can verify that it resolves several accessibility issues in the header buttons and works well.
Successfully created backport PR for |
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
[UXP-160] Approved-by: Andrea Barbasso
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
Chase changes to heaver and navbar in DSpace Angular. See: DSpace#2527
References
ExpandableNavbarSectionComponent
: 468407, 468408, 468409, 468410Description
Minor header improvements for header icons spacing (by refactoring the code to use flex gap) & improved search navbar bar accessibility.
Instructions for Reviewers
List of changes in this PR:
ExpandableNavbarSectionComponent
has a<ul>
containing non-<li>
elements (here)LangSwitchComponent
for testing purposes in order to check that when the language button is hidden that there is no double padding being applied & that it works for themed components as wellInclude guidance for how to test or review your PR:
dspace
theme & the base theme (done by commenting out thedspace
theme insrc/config/default-app-config.ts
)Checklist
yarn lint
yarn check-circ-deps
)package.json
), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.