smbjorklund / cellproject

Consortium on Electronic Literature (CELL) Drupal installation
http://cellproject.net
0 stars 0 forks source link

Fix “Skip to Main Content” activation #64

Open hannahackermans opened 11 months ago

hannahackermans commented 11 months ago

Current State

When using the keyboard to navigation, the first focus is on “skip to main content”, which is available to bypass blocks of content that are repeated on multiple Web pages. So far so good, except in I activate is, the URL changes to https://cellproject.net/#main-content but the focus does not actually move and still runs through all the components in the header.

Proposed changes to meet the success criteria

  1. I am assuming this problem occurs because the “main content” of the page lacks a “#main-content” id because I cannot find that in the code where I expected it. If this is the only problem is should be easy to fix by just adding the id.
  2. I also want to suggest using a similar bypass block for the “A Selection of Entries on Works of Electronic Literature” section on the main page, but perhaps we need to rethink the main page entirely for reasons beyond accessibility, so I’ll leave that for now.