Skip to content

Navigation updates#358

Merged
matt-bernhardt merged 3 commits intomainfrom
uxws-1378-nav-updates
Jun 7, 2022
Merged

Navigation updates#358
matt-bernhardt merged 3 commits intomainfrom
uxws-1378-nav-updates

Conversation

@matt-bernhardt
Copy link
Copy Markdown
Member

@matt-bernhardt matt-bernhardt commented Jun 3, 2022

What does this PR do?

This combines the work of two tickets, both of which ask for changes to our theme navigation.

The first change makes a series of updates to the header and footer which were requested by UX in their ticket.

The second change resolves a longstanding issue that was flagged by one of our a11y checks, wherein we'd used an alt attribute on an anchor tag.

How can a reviewer manually see the effects of these changes?

This will be visible on the staging server.

What are the relevant tickets?

Todo:

  • Documentation
  • Stakeholder approval

Requires new or updated plugins, themes, or libraries?

NO

Requires change to deploy process?

NO

@matt-bernhardt matt-bernhardt marked this pull request as draft June 3, 2022 21:04
@matt-bernhardt matt-bernhardt force-pushed the uxws-1378-nav-updates branch from 1e94f90 to c8f363a Compare June 6, 2022 20:43
** Why are these changes being introduced:

* There are a number of links in our header and footer that need to
  change.

** Relevant ticket(s):

* https://mitlibraries.atlassian.net/browse/uxws-1378

** How does this address that need:

* This makes all the changes in the header and footer which are called
  for in the linked Jira ticket (UXWS-1378)

** Document any side effects to this change:

* None
** Why are these changes being introduced:

* ANDI has flagged a portion of our branding for a while with a "Misuses
  of Alt attribute" message, because we've added an alt attribute to an
  anchor tag. This is incorrect, but was taken because the SVG element
  inside the anchor can't make use of an alt attribtue.

** Relevant ticket(s):

* https://mitlibraries.atlassian.net/browse/engx-67

** How does this address that need:

* This adopts the preferred approach in this sort of use case, using a
  title tag inside the inlined SVG:
  https://css-tricks.com/accessible-svgs/#aa-2-inline-svg

** Document any side effects to this change:

* None
@matt-bernhardt matt-bernhardt force-pushed the uxws-1378-nav-updates branch from c8f363a to cf89e62 Compare June 6, 2022 21:26
@matt-bernhardt matt-bernhardt changed the title Uxws 1378 nav updates Navigation updates Jun 6, 2022
@matt-bernhardt matt-bernhardt marked this pull request as ready for review June 6, 2022 21:29
@jazairi jazairi self-assigned this Jun 7, 2022
Copy link
Copy Markdown
Contributor

@jazairi jazairi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking on that a11y issue! :shipit:

@matt-bernhardt matt-bernhardt merged commit dcc32c4 into main Jun 7, 2022
@matt-bernhardt matt-bernhardt deleted the uxws-1378-nav-updates branch June 7, 2022 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants