scientist-softserv / utk-hyku

Other
6 stars 0 forks source link

1.4.10 Reflow: Admin Dashboard's responsiveness #41

Closed orangewolf closed 1 year ago

orangewolf commented 1 year ago

ref:

In addition to this ticket, please create an issue for this in Hyku and link it to this ticket.

Summary

The admin dashboard failed the accessibility audit because, at the tested dimensions described below, a website should adjust itself to be viewable vertically. A user should be able to see and use a vertical scrollbar, but not a horizontal one.

We've determined that this currently does not work because the admin dashboard has a left sidebar that does not collapse by default. Once we manually collapse the sidebar, it passes the audit test.

Some solution options may include:

For inspiration + things to consider:

Gitlab passes this requirement! Notice how the left side bar is collapsed, but when you hover over the icons the additional options are revealed.

Image

Currently, when you hover over the collapsed icons in hyku, the user really has no idea what their significance is. See demo: https://share.getcloudapp.com/xQuw9yKb

Acceptance Criteria

Testing Instructions (On desktop only)

  1. Visit the UTK staging site.
  2. Login as an admin user.
  3. Go to the dashboard.
  4. Adjust your viewing settings to meet the dimensions described below.
  5. Check the Acceptance Criteria for pass/fail

How to adjust settings:

  1. right-click inspect to adjust width: https://share.getcloudapp.com/Wnu7ARdA
  2. Zoom to 400% by holding command btn and + several times. Hold cmd and - to zoom out.

Notes

This ticket has been created as a result of an accessibility audit: ref: Report for https__test.hykucommons.org.pdf

NOTE: The following pages were tested at 320 CSS pixels, which is equivalent to a starting viewport width of 1280 CSS pixels wide at 400% zoom.

DiemBTran commented 1 year ago

Linked items:

DiemBTran commented 1 year ago

Kirk June 2022:


Potentially reach out to Samvera community to see if they have a solution for this.

DiemBTran commented 1 year ago

LaRita June 2022:


Notes regarding design:

If we set the selection to minimize automatically, then we probably want some sort of hover menu rather than the current dropdown menus for standard sized views. Additionally, we need to make sure that if it starts as minimized, once it is toggled, it remains maximized until the user minimizes it again. Currently just removing the maximized keyword isn’t adequate.

Using hover menus means we need a different menu structure for touch screens where hover isn’t an option. The ticket shows gitlab menus as an example. If you view those on a phone, they switch to a hamburger menu structure rather than the hover they use for standard views.

DiemBTran commented 1 year ago

Shana - June 2022


Discussed during team planning mtg:

jillpe commented 1 year ago

related to #385

jillpe commented 1 year ago

Separate ticket created for first 3 acceptance criteria

jillpe commented 1 year ago

SoftServ QA: Pass!

Collapse sidebar at a specific width Collapses at 150% https://github.com/scientist-softserv/utk-hyku/assets/84697174/a78c30da-578b-47c0-a336-771710c29c68
Add title on hover over to the sidebar icons https://github.com/scientist-softserv/utk-hyku/assets/84697174/5f940203-ffea-42a0-85ea-2050a3cccdbd
josh-morgan117 commented 1 year ago

This isn't working for me in staging on Chrome or Firefox. The arrow up top to collapse the sidebar doesn't even work.

ShanaLMoore commented 1 year ago

We have a fix coming shortly. Please put this on hold and anything regarding sidebar/header drop downs. A recent update broke this behavior.

ref: https://github.com/scientist-softserv/utk-hyku/issues/491

ShanaLMoore commented 1 year ago

unblocked, the bug as been resolved. cc @kidon0011

josh-morgan117 commented 1 year ago

Thanks, works for me now.