Staff pages lack H1 headings

Bug #1994711 reported by Stephanie Leary
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned

Bug Description

Other than the login page, all the pages in the staff view lack H1 headings. This is required as part of WCAG 1.3.1; see https://www.w3.org/WAI/WCAG21/Techniques/html/H42 for details.

Patch forthcoming.

Revision history for this message
Stephanie Leary (stephanieleary) wrote :

Branch fixing the issue: https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/sleary/lp1994711-semantic-h1-titles

I would appreciate feedback on the visual changes here; I can adjust the CSS to keep the blue, centered titles if people feel strongly about it.

tags: added: needsdiscussion pullrequest
Andrea Neiman (aneiman)
Changed in evergreen:
milestone: none → 3.next
Andrea Neiman (aneiman)
Changed in evergreen:
status: New → Confirmed
importance: Undecided → Medium
Andrea Neiman (aneiman)
Changed in evergreen:
assignee: Stephanie Leary (stephanieleary) → nobody
Revision history for this message
Galen Charlton (gmc) wrote :

I vote for keeping the blue, centered page titles. Not out of any particular attachment to the previous styling, but for consistency with some of the AngularJS interfaces as well as reducing the need to regenerate screenshots for the documentation.

Revision history for this message
Stephanie Leary (stephanieleary) wrote :

Shelving my desire to redesign all the admin screens immediately... I've updated the branch to make the new H1s match existing page titles.

tags: removed: needsdiscussion
Revision history for this message
Terran McCanna (tmccanna) wrote :

Just to clarify, this only changes the Angular pages, correct?

I have not checked every Angular page, but I do see the new H1 on all that I have checked.

Although I appreciate having the titles there, they look very squished together with the action buttons on many of the interfaces (see attached screenshot). Whether or not we stick with the blue, centered titles that we have in some of the AngularJS pages or not, I do think they could use a little more visual separation.

It would also be nice to have the same changes made to the AngularJS pages, as many of those are missing H1s as well.

Revision history for this message
Stephanie Leary (stephanieleary) wrote :

My apologies, Terran, I left out a commit. I've just rebased this to restore the surrounding div with the blue styling.

Revision history for this message
Jason Boyer (jboyer) wrote :

Hi Stephanie, it looks like there's an issue in the Open-ILS/src/eg2/src/app/staff/share/staff-banner.component.ts change where a bare '-' snuck into a div tag and breaks the client.

tags: added: needswork
removed: pullrequest
Revision history for this message
Stephanie Leary (stephanieleary) wrote :

Thanks, all! I've updated this branch.

tags: added: pullrequest
removed: needswork
Revision history for this message
Jane Sandberg (sandbergja) wrote :

Thanks, Stephanie! It's looking good to me. Just one question: your patch removes <eg-staff-banner>'s functionality to set the page's <title> via <eg-title>. Many screens have a redundant <eg-title>, so this patch doesn't affect them. However, there are a few that don't have this, like:

* Hamburger menu > About
* Admin > Server Admin > MARC Coded Value Maps

I could see two approaches to make sure that these screens don't lose their <title>s:
* In this branch, also add <eg-title> to any screens that don't already have one, or
* keep the <eg-title> piece in the <eg-staff-banner>

Revision history for this message
Stephanie Leary (stephanieleary) wrote :

Thanks, Jane. I am puzzled by the inconsistent methods of setting <title> and I think we should revisit it at some point, but for now I've added <eg-title> back to the banner, this time outside the markup to make it clearer that it is not part of the visible text.

Andrea Neiman (aneiman)
Changed in evergreen:
milestone: 3.next → 3.11-beta
Revision history for this message
Jane Sandberg (sandbergja) wrote :

Thanks, Stephanie! Signoff here: user/sandbergja/lp1994711-semantic-h1-titles-signoff

tags: added: signedoff
Galen Charlton (gmc)
Changed in evergreen:
assignee: nobody → Galen Charlton (gmc)
Revision history for this message
Galen Charlton (gmc) wrote :

Tested and pushed down to rel_3_10. Thanks, Stephanie and Jane!

Changed in evergreen:
milestone: 3.11-beta → 3.10.2
status: Confirmed → Fix Committed
assignee: Galen Charlton (gmc) → nobody
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.