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

Bug: Regression - Transit name is not bolded in agency links #2590

Open
machikoyasuda opened this issue Dec 12, 2024 · 1 comment
Open

Bug: Regression - Transit name is not bolded in agency links #2590

machikoyasuda opened this issue Dec 12, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@machikoyasuda
Copy link
Member

Image Image

The agency-links includes is used on the Help page and some of the agency-specific Error pages, as shown above in Figma screenshots.

The transit agency names are currently unbold on Dev, but they are bolded correctly on Prod. So we have a regression somewhere.
Image

@machikoyasuda
Copy link
Member Author

Update: I figured out the cause of the bug. It's coming from removing the CA State Web Template, which gives us this:

.nav-media .subtitle,
label {
  font-weight:700;
}

I was also reading the HTML spec, which actually states that labels should only use for form fields, so this HTML element should be a span or p.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant