Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove iframe to fix keyboard tab trap. #332

Merged
merged 2 commits into from
Jan 16, 2025

Conversation

acharraggi
Copy link
Collaborator

Replace with a PDF 'gateway' section and button link.

This is a fix to and accessibility issue: when tabbing through the current page focus is trapped in the iframe and cannot escape.

The replace the iframe with a "gateway page" which summarizes the PDF and let's the user decide if they want to take the trouble to view or download it. The link is styled as a button to ensure it is distinct from regular links. It also has text indicating the link is to a PDF, the file size, and that the link will open in a new tab. These are all accessibility features.

Here's what this will look like:
image

@acharraggi acharraggi merged commit 5f5bc1b into FIRST-Tech-Challenge:main Jan 16, 2025
7 checks passed
@acharraggi acharraggi deleted the fix-playing-field branch January 16, 2025 15:05
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