Skip to content

Comments

remove iframe to fix keyboard tab trap.#332

Merged
acharraggi merged 2 commits intoFIRST-Tech-Challenge:mainfrom
acharraggi:fix-playing-field
Jan 16, 2025
Merged

remove iframe to fix keyboard tab trap.#332
acharraggi merged 2 commits intoFIRST-Tech-Challenge:mainfrom
acharraggi:fix-playing-field

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
6 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