Login button on /login does not respond to clicks (form.requestSubmit() works)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- authentication, frontend
Research direction
Start by tracing the login form and ia-button click handling in the repository’s web components; the issue names no source files or tests. Reproduce the Firefox failure and compare clicking the button with the working form.requestSubmit() workaround, then inspect whether the reported console errors affect submission. Done when clicking Log in submits the valid form and the behavior is covered by a regression test.
Written by the indexing model from the issue text.
Description
Problem
The “Log in” button on [archive.org/login](https://archive.org/login) does nothing when clicked. The form is valid and can be submitted programmatically, but the button’s click handler never fires. Console shows multiple Google Sign-In / CSP / CORS errors on page load that appear related.
Reproducing the bug
- Go to [archive.org/login](https://archive.org/login)
- Enter a valid email and password
- Click the “Log in” button
- Expected behavior: Form submits and the user is logged in
- Actual behavior: Nothing happens. No network request, no error message
Workaround that succeeds in the console:
document.querySelector('app-root').shadowRoot
.querySelector('login-page').shadowRoot
.querySelector('form')
.requestSubmit();
Calling .click() on the ia-button class="submit-btn" also does nothing.
Context
- Browser (Chrome, Safari, Firefox, etc): Firefox
- OS (Windows, Mac, etc): Windows
- Logged in (Y/N): N
- Environment (prod, dev, local): prod
Relevant console errors on load include CSP blocks on inline scripts, google.accounts.id.initialize() called multiple times, CORS failures to play.google.com/log, and MIME-type issues from apollo.archive.org. The button is an ia-button class="submit-btn" inside nested shadow roots under app-root, login-page.
Breakdown
Implementation Details (for maintainers)
Requirements Checklist
Related files
Stakeholders
Instructions for Contributors
- Please run these commands to ensure your repository is up to date before creating a new branch to work on this issue and each time after pushing code to Github, because the pre-commit bot may add commits to your PRs upstream.
- Dominant language
- TypeScript
- Stars
- 18
- Forks
- 5
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 15
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from internetarchive/elements
-
Add shared dark-surface color tokens to theme-styles.tsMay be free again @jbuckner claimed this 105 days ago, and no pull request is open. Open
internetarchive/elements#66 · 1 assignee ·
Maintainers usually reply within 1 day
-
Create contributor wiki pageMay be free again @jbuckner claimed this 351 days ago, and no pull request is open. Open
internetarchive/elements#14 · 1 assignee ·
Maintainers usually reply within 1 day
-
Add Github Issues / PR TemplatesMay be free again @jbuckner claimed this 353 days ago, and no pull request is open. Open
internetarchive/elements#13 · 1 assignee ·
Maintainers usually reply within 1 day
-
Component Catalog ImprovementsMay be free again @jbuckner claimed this 353 days ago, and no pull request is open. Open
internetarchive/elements#11 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Connect git repo to slackMay be free again @jbuckner claimed this 353 days ago, and no pull request is open. Open
internetarchive/elements#9 · 1 assignee ·
Maintainers usually reply within 1 day
All issues in internetarchive/elements
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
makecindy/cindy#15342 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
kwitsch/claude-code-plugin-tooling#219 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
no-repo-link tool-submission
Difficulty 1/5 Under an hour Newbie friendliness 74/100
BraveOPotato/NoSignups#2618 ·
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 85/100