Open milofultz opened 7 months ago
They are currently two separate pages.
They are currently two separate pages.
That's right. Currently how the site is set up so that "Contacts" is in a separate page with the contacts list and "Civic Profile" will be on their own page with profile information. The two pages can be accessible via the navbar which consist of MUI tabs linking the pages to their respective routes (/contacts
and /civic-profile
as Scott pointed out in the image of src/AppRoutes.jsx
).
So if we were to improve the site with h1
elements for accessibility, think we'll needed them each of the pages, one for "Contacts" and one for "Civic Profile". As for what elements to utilize, I think the recently implemented breadcrumbs would be a good choice since the trailing crumb would typically display the name of the route they've entered.
The only part which this might not work would be under contacts since the breadcrumb there utilizes the contact's full webId as the crumb. We'll probably need an alternative for that edge case.
Bug Description:
When logged in, viewing the page with "Contacts"/"Civic Profile" tabs, there is no
h1
for the page.Reproduction Steps:
1. Log in. 2. On next page when logged in, check the DOM.
Expected Behavior:
There should be an element )" (from MDN).
h1
that "describes the content of the page (similar to the document'sPossible Solution (optional):
Add an
h1
that describes the content of the page. Don't know if it should be for the entire page (including the tabbed areas of "Contacts"/"Civic Profile") or just the tab themselves. Think it should probably be the whole page.