Skip to content
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

Added skip to main content button #2607

Conversation

alexandrevryghem
Copy link
Member

@alexandrevryghem alexandrevryghem commented Nov 8, 2023

References

Description

Created the skip to main content button to automatically skip the header, navigation, the user setting buttons, ...

Checklist

  • My PR is small in size (e.g. less than 1,000 lines of code, not including comments & specs/tests), or I have provided reasons as to why that's not possible.
  • My PR passes ESLint validation using yarn lint
  • My PR doesn't introduce circular dependencies (verified via yarn check-circ-deps)
  • My PR includes TypeDoc comments for all new (or modified) public methods and classes. It also includes TypeDoc for large or complex private methods.
  • My PR passes all specs/tests and includes new/updated specs or tests based on the Code Testing Guide.
  • If my PR includes new libraries/dependencies (in package.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
  • If my PR includes new features or configurations, I've provided basic technical documentation in the PR itself.
  • If my PR fixes an issue ticket, I've linked them together.

@alexandrevryghem alexandrevryghem self-assigned this Nov 8, 2023
@tdonohue tdonohue added the port to dspace-7_x This PR needs to be ported to `dspace-7_x` branch for next bug-fix release label Nov 8, 2023
@tdonohue tdonohue self-requested a review November 9, 2023 15:19
@tdonohue tdonohue added the 1 APPROVAL pull request only requires a single approval to merge label Nov 9, 2023
Copy link

github-actions bot commented Nov 9, 2023

Hi @alexandrevryghem,
Conflicts have been detected against the base branch.
Please resolve these conflicts as soon as you can. Thanks!

@tdonohue
Copy link
Member

tdonohue commented Nov 9, 2023

@alexandrevryghem : If you could cleanup the conflicts tomorrow (Friday) or Monday, I'd love to test this for possible inclusion in 7.6.1. I believe the conflicts were accidentally caused by #2594

…content-button_contribute-main

# Conflicts:
#	src/app/root/root.component.html
Copy link
Member

@tdonohue tdonohue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks @alexandrevryghem ! Tested this today and it's working for both themes. Verified the invisible button exists (and works) using the WAVE Evaluation Tool extension for Chrome

@tdonohue tdonohue merged commit d029475 into DSpace:main Nov 10, 2023
10 checks passed
@dspace-bot
Copy link
Contributor

Backport failed for dspace-7_x, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally.

git fetch origin dspace-7_x
git worktree add -d .worktree/backport-2607-to-dspace-7_x origin/dspace-7_x
cd .worktree/backport-2607-to-dspace-7_x
git checkout -b backport-2607-to-dspace-7_x
ancref=$(git merge-base 684846ae36853aaf353b45e30fc300cfd14cfe41 19ed3c88e39ae3858845ec359eb4cf65bf7fa0ca)
git cherry-pick -x $ancref..19ed3c88e39ae3858845ec359eb4cf65bf7fa0ca

@tdonohue
Copy link
Member

Manually ported to dspace-7_x in #2626

@tdonohue tdonohue added this to the 8.0 milestone Nov 10, 2023
@tdonohue tdonohue removed the port to dspace-7_x This PR needs to be ported to `dspace-7_x` branch for next bug-fix release label Nov 10, 2023
@alexandrevryghem alexandrevryghem deleted the added-skip-to-main-content-button_contribute-main branch November 11, 2023 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 APPROVAL pull request only requires a single approval to merge accessibility bug high priority new feature
Projects
No open projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Skip to main content link is not present in the user pages
3 participants