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

Links to resource page sections highlight the wrong section of the page when clicked through #5532

Closed
Tracked by #159
dorothyyeager opened this issue Dec 28, 2022 · 2 comments

Comments

@dorothyyeager
Copy link
Contributor

Thank you for your interest in helping improve the FEC CMS.

Below, you'll find questions to help us more quickly identify, prioritize, and then address the issue.

Summary

When you click a link that takes you to a section of a resource page, it works, but on the left-hand menu, a different section will be highlighted.

What should have happened? The link to the section should show the section that was linked as the highlighted section.

Frequency

Seems to be happening quite a bit

How to Reproduce

List any steps you took for this issue to happen. Be sure to include the URL and what you clicked or entered. More details are better.
URL: https://www.fec.gov/…

  1. Scroll down to 109.10(b) and click the asterisk - that link points to https://www.fec.gov/legal-resources/regulations/explanations-and-justifications/explanations-and-justifications-conversion-tables-appendix-parts-102-109/#part-109-coordinated-and-independent-expenditures
  2. When you arrive at https://www.fec.gov/legal-resources/regulations/explanations-and-justifications/explanations-and-justifications-conversion-tables-appendix-parts-102-109/#part-109-coordinated-and-independent-expenditures, you'll see that you arrived at the right section (part 109) but the section for part 108 is highlighted and not part 109.

image

Device, browser, etc

Using Chrome on Windows 10

Screenshots

See above screenshot

@dorothyyeager dorothyyeager added this to the Sprint 20.4 milestone Dec 28, 2022
@dorothyyeager dorothyyeager changed the title Links to resource page sections highlight the wrong section when linked Links to resource page sections highlight the wrong section of the page when clicked through Dec 28, 2022
@pkfec pkfec modified the milestones: Sprint 20.3, Sprint 20.4 Jan 17, 2023
@patphongs patphongs modified the milestones: Sprint 20.4, Sprint 20.5 Jan 26, 2023
@dorothyyeager
Copy link
Contributor Author

Another example, when you click on https://www.fec.gov/legal-resources/policy-other-guidance/#proposals - you arrive at the right place but the wrong section on the place is highlighted.
image

@dorothyyeager
Copy link
Contributor Author

Closing since related PR has been merged. Thanks @johnnyporkchops

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants