You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "Aitema-gmbh (via GitHub)" <gi...@apache.org> on 2026/04/09 19:01:39 UTC

[PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Aitema-gmbh opened a new pull request, #39232:
URL: https://github.com/apache/superset/pull/39232

   ### SUMMARY
   Implements WCAG 2.1 criterion 1.3.5 (Identify Input Purpose, Level AA).
   
   - Add `autocomplete` attributes to Login form (username, current-password)
   - Add `autocomplete` to Register form (given-name, family-name, email, new-password)
   - Add `autocomplete` to SSH Tunnel form and User Profile modal
   - Add `autocomplete="off"` to Import Modal and OAuth2 fields where autofill is inappropriate
   
   ### TESTING INSTRUCTIONS
   1. Open Login page → inspect username/password fields → verify `autocomplete` attributes
   2. Browser password managers should now offer to fill these fields
   
   ### ADDITIONAL INFORMATION
   - [x] Changes UI
   Part of a series of 16 individual WCAG 2.1 accessibility PRs. See also #38342.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe commented on code in PR #39232:
URL: https://github.com/apache/superset/pull/39232#discussion_r4346004983


##########
superset-frontend/src/features/userInfo/UserInfoModal.tsx:
##########
@@ -118,6 +123,7 @@ function UserInfoModal({
       >
         <Input.Password
           name="password"
+          autoComplete="new-password"

Review Comment:
   The sibling `current_password` field a few lines above (the "Current password" input in this same reset form) still has no `autoComplete`, while the new and confirm fields now declare `new-password`. A password manager or assistive tech then has to guess which of the three password inputs is the existing credential, so this form is only partly covered for 1.3.5. Would `autoComplete="current-password"` on that input fit here?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "codeant-ai-for-open-source[bot] (via GitHub)" <gi...@apache.org>.
codeant-ai-for-open-source[bot] commented on PR #39232:
URL: https://github.com/apache/superset/pull/39232#issuecomment-6335199093

   ## CodeAnt PR Risk: Low Risk
   
   - The PR appears safe to merge; no actionable issues were identified in the review.
   
   **Assessed commit:** `7024430bdc1b`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "Aitema-gmbh (via GitHub)" <gi...@apache.org>.
Aitema-gmbh commented on code in PR #39232:
URL: https://github.com/apache/superset/pull/39232#discussion_r4401612097


##########
superset-frontend/src/features/userInfo/UserInfoModal.tsx:
##########
@@ -118,6 +123,7 @@ function UserInfoModal({
       >
         <Input.Password
           name="password"
+          autoComplete="new-password"

Review Comment:
   Not at all, thanks for adding it, Evan, and thanks @sadpandajoe for catching it. `current-password` is exactly right there.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "Aitema-gmbh (via GitHub)" <gi...@apache.org>.
Aitema-gmbh commented on PR #39232:
URL: https://github.com/apache/superset/pull/39232#issuecomment-6312596588

   Hi @rusackas — thanks for the approval! Master had moved under this one again (the user modal's password fields were restructured in #44626, and the SSH tunnel form now uses `LabeledErrorBoundInput`), so I've rebased it onto current master as a single commit and re-applied the same attributes to the new components: `autoComplete="off"` on the six SSH tunnel fields and `new-password` on both password fields of the user modal, which now also cover the new edit-mode password reset. Everything else merged cleanly; the effective diff is still the same 7 files. `oxfmt` and the custom-rules check pass locally. Ready to merge whenever you are.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #39232:
URL: https://github.com/apache/superset/pull/39232#issuecomment-4403266693

   AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).
   
   <details>
   <summary>
   Bito Usage Guide
   </summary>
   
   **Commands**
         
   Type the following command in the pull request comment and save the comment.
         
   - `/review` - Manually triggers a full AI review.
   
   - `/pause` - Pauses automatic reviews on this pull request.
   - `/resume` - Resumes automatic reviews.
   - `/resolve` - Marks all Bito-posted review comments as resolved.
   - `/abort` - Cancels all in-progress reviews.
   
         
   Refer to the <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/available-commands" target="_blank" rel="noopener noreferrer">documentation</a> for additional commands.
         
   **Configuration**
   
   This repository uses `Superset` You can customize the agent settings <a href="https://alpha.bito.ai/home/ai-agents/code-review-agent" target="_blank" rel="noopener noreferrer">here</a> or contact your Bito workspace admin at evan@preset.io.
         
   **Documentation & Help**
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/getting-started/install-run-using-bito-cloud/create-or-customize-an-agent-instance" target="_blank" rel="noopener noreferrer">Customize agent settings</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/implementing-custom-code-review-rules" target="_blank" rel="noopener noreferrer">Review rules</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent" target="_blank" rel="noopener noreferrer">General documentation</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/faqs" target="_blank" rel="noopener noreferrer">FAQ</a>
   
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "koljaschumann (via GitHub)" <gi...@apache.org>.
koljaschumann commented on PR #39232:
URL: https://github.com/apache/superset/pull/39232#issuecomment-4397710223

   Hi @rusackas — thanks for the review and for the positive signal on this PR.
   
   Bot feedback triaged:
   
   - **bito-code-review** (0 actionable suggestions): Informational run — no action needed, dismissed.
   - - **Copilot** — 8 inline comments:
   -   - Formatting consistency (2 comments: `UserInfoModal` last_name, `UserListModal` email): Legit style fixes — @Aitema-gmbh will address in next push — tracked.
   -   - `SSHTunnelForm.tsx` — `FormLabel htmlFor` not linked to matching input `id` (6 instances across server_address, server_port, username, password, private_key, private_key_password): Valid pre-existing a11y issue — @Aitema-gmbh will add matching `id` attributes in next push — tracked.
   - - **codecov**: Coverage unchanged (64.37%) — informational, dismissed.
   7 legit items will be addressed in the next push by @Aitema-gmbh. Will ping once those land and request re-review.
   
   Lint rule for `autocomplete` is on the backlog as a follow-up PR; keeping individual PRs focused.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on PR #39232:
URL: https://github.com/apache/superset/pull/39232#issuecomment-4282923806

   Same thing as all the PRs. I'll stop adding this comment, but please reply to all bot comments, take the good suggestions, and if possible add a linting rule to catch all of this stuff. Thanks for breaking this up into smaller PRs. It does help with the reviewability.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #39232:
URL: https://github.com/apache/superset/pull/39232#issuecomment-4216766416

   AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "netlify[bot] (via GitHub)" <gi...@apache.org>.
netlify[bot] commented on PR #39232:
URL: https://github.com/apache/superset/pull/39232#issuecomment-4398892338

   ### <span aria-hidden="true">✅</span> Deploy Preview for *superset-docs-preview* ready!
   
   
   |  Name | Link |
   |:-:|------------------------|
   |<span aria-hidden="true">🔨</span> Latest commit | 85cdffe0386471efb5036aae176e16cfde59e5a3 |
   |<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/projects/superset-docs-preview/deploys/69fcb9bb3e48ce00082e9ade |
   |<span aria-hidden="true">😎</span> Deploy Preview | [https://deploy-preview-39232--superset-docs-preview.netlify.app](https://deploy-preview-39232--superset-docs-preview.netlify.app) |
   |<span aria-hidden="true">📱</span> Preview on mobile | <details><summary> Toggle QR Code... </summary><br /><br />![QR Code](https://app.netlify.com/qr-code/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2RlcGxveS1wcmV2aWV3LTM5MjMyLS1zdXBlcnNldC1kb2NzLXByZXZpZXcubmV0bGlmeS5hcHAifQ.KKPYvj2h_mkvsJBSWWrH_5hiWypPzGUe7eoJh9bnM5E)<br /><br />_Use your smartphone camera to open QR code link._</details> |
   |<span aria-hidden="true">🤖</span> Make changes | [Run an agent on this branch](https://app.netlify.com/projects/superset-docs-preview/agent-runs#DcrJDYAgEADAXvYtiGfEDiyDY1ETlQ1C1Bh7l9885gUKfqcII0ABOqjDLNluvcvLqJlVvOEdWw9KkVEK5E_MzyJt_plsnr10RkutG2wHg0KIoUapLML3Aw) |
   ---
   <!-- [superset-docs-preview Preview](https://deploy-preview-39232--superset-docs-preview.netlify.app) -->
   _To edit notification comments on pull requests, go to your [Netlify project configuration](https://app.netlify.com/projects/superset-docs-preview/configuration/notifications#deploy-notifications)._


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "koljaschumann (via GitHub)" <gi...@apache.org>.
koljaschumann commented on code in PR #39232:
URL: https://github.com/apache/superset/pull/39232#discussion_r3201891697


##########
superset-frontend/src/features/userInfo/UserInfoModal.tsx:
##########
@@ -81,7 +82,7 @@ function UserInfoModal({
         label={t('Last name')}
         rules={[{ required: true, message: t('Last name is required') }]}
       >
-        <Input name="last_name" placeholder={t("Enter the user's last name")} />
+        <Input name="last_name" autoComplete="family-name" placeholder={t("Enter the user's last name")} />

Review Comment:
   @Aitema-gmbh will address in next push — tracked.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "Aitema-gmbh (via GitHub)" <gi...@apache.org>.
Aitema-gmbh commented on PR #39232:
URL: https://github.com/apache/superset/pull/39232#issuecomment-4440504623

   @rusackas the 8 Copilot threads on this PR are all addressed in `85cdffe0` (SSHTunnelForm `htmlFor`-to-`id` alignment on 6 fields, `UserInfoModal` / `UserListModal` reformatted) and resolved. Ready for re-review when you have a moment.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #39232:
URL: https://github.com/apache/superset/pull/39232#issuecomment-4283448311

   ## [Codecov](https://app.codecov.io/gh/apache/superset/pull/39232?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   :white_check_mark: All modified and coverable lines are covered by tests.
   :white_check_mark: Project coverage is 64.37%. Comparing base ([`5815665`](https://app.codecov.io/gh/apache/superset/commit/5815665cc6249d4a665aef9e080eee76da3d9934?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`8fbac68`](https://app.codecov.io/gh/apache/superset/commit/8fbac68a006528769702084ebfe9909c3085dbbf?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   :warning: Report is 112 commits behind head on master.
   
   <details><summary>Additional details and impacted files</summary>
   
   
   
   ```diff
   @@           Coverage Diff           @@
   ##           master   #39232   +/-   ##
   =======================================
     Coverage   64.37%   64.37%           
   =======================================
     Files        2550     2550           
     Lines      132180   132180           
     Branches    30661    30661           
   =======================================
     Hits        85096    85096           
     Misses      45599    45599           
     Partials     1485     1485           
   ```
   
   | [Flag](https://app.codecov.io/gh/apache/superset/pull/39232/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
   |---|---|---|
   | [javascript](https://app.codecov.io/gh/apache/superset/pull/39232/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `65.91% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
   </details>
   
   [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/superset/pull/39232?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).   
   :loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
   - :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "Aitema-gmbh (via GitHub)" <gi...@apache.org>.
Aitema-gmbh commented on PR #39232:
URL: https://github.com/apache/superset/pull/39232#issuecomment-4542925721

   Hi @rusackas — friendly bump: bot threads addressed in `85cdffe0`, CI green, smallest diff in the WCAG batch (+38/-6 across 7 files). Mind taking another look when you have a moment? Happy to tweak if anything else comes up. Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on code in PR #39232:
URL: https://github.com/apache/superset/pull/39232#discussion_r4384082116


##########
superset-frontend/src/features/userInfo/UserInfoModal.tsx:
##########
@@ -118,6 +123,7 @@ function UserInfoModal({
       >
         <Input.Password
           name="password"
+          autoComplete="new-password"

Review Comment:
   Good call. Pushed a one-liner adding `current-password` to that field, so each of the three password inputs in the reset form now says what it is. @Aitema-gmbh hope you don't mind me nudging it along, holler if you'd rather I back it out.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "sadpandajoe (via GitHub) via notifications" <no...@superset.apache.org>.
sadpandajoe merged PR #39232:
URL: https://github.com/apache/superset/pull/39232


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on PR #39232:
URL: https://github.com/apache/superset/pull/39232#issuecomment-4283355240

   I think a lot of the bot review comments look legit, but otherwise, once that's addressed, I'm inclined to approve and merge this. Thanks for all these contributions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #39232:
URL: https://github.com/apache/superset/pull/39232#issuecomment-4591998509

   AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).
   
   <details>
   <summary>
   Bito Usage Guide
   </summary>
   
   **Commands**
         
   Type the following command in the pull request comment and save the comment.
         
   - `/review` - Manually triggers a full AI review.
   
   - `/pause` - Pauses automatic reviews on this pull request.
   - `/resume` - Resumes automatic reviews.
   - `/resolve` - Marks all Bito-posted review comments as resolved.
   - `/abort` - Cancels all in-progress reviews.
   
         
   Refer to the <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/available-commands" target="_blank" rel="noopener noreferrer">documentation</a> for additional commands.
         
   **Configuration**
   
   This repository uses `Superset` You can customize the agent settings <a href="https://alpha.bito.ai/home/ai-agents/code-review-agent" target="_blank" rel="noopener noreferrer">here</a> or contact your Bito workspace admin at evan@preset.io.
         
   **Documentation & Help**
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/getting-started/install-run-using-bito-cloud/create-or-customize-an-agent-instance" target="_blank" rel="noopener noreferrer">Customize agent settings</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/implementing-custom-code-review-rules" target="_blank" rel="noopener noreferrer">Review rules</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent" target="_blank" rel="noopener noreferrer">General documentation</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/faqs" target="_blank" rel="noopener noreferrer">FAQ</a>
   
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "Aitema-gmbh (via GitHub)" <gi...@apache.org>.
Aitema-gmbh commented on PR #39232:
URL: https://github.com/apache/superset/pull/39232#issuecomment-4590665878

   Hi @rusackas — rebased onto current `master` and resolved the conflict in `UserListModal.tsx` (it had picked up an upstream refactor of that modal). The resolution keeps the upstream structure verbatim and only re-applies the six `autoComplete` attributes (`given-name`, `family-name`, `username`, `email`, two × `new-password`) — no upstream code dropped. PR is back to `MERGEABLE`, CI is green, and all bot threads were addressed earlier in `85cdffe0`. This is still the smallest diff in the WCAG batch (7 files, +38/-6). Ready for your approve/merge whenever you have a moment — thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on code in PR #39232:
URL: https://github.com/apache/superset/pull/39232#discussion_r4340236418


##########
superset-frontend/src/features/users/UserListModal.tsx:
##########
@@ -139,6 +141,7 @@ function UserListModal({
             >
               <Input
                 name="username"
+                autoComplete="username"

Review Comment:
   @Aitema-gmbh tempted to block the PR over this as it sounds pretty dangerous, let us know your thoughts here when you have a chance, or if you'd like a hand with it. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "Aitema-gmbh (via GitHub)" <gi...@apache.org>.
Aitema-gmbh commented on code in PR #39232:
URL: https://github.com/apache/superset/pull/39232#discussion_r3232565376


##########
superset-frontend/src/features/userInfo/UserInfoModal.tsx:
##########
@@ -81,7 +82,7 @@ function UserInfoModal({
         label={t('Last name')}
         rules={[{ required: true, message: t('Last name is required') }]}
       >
-        <Input name="last_name" placeholder={t("Enter the user's last name")} />
+        <Input name="last_name" autoComplete="family-name" placeholder={t("Enter the user's last name")} />

Review Comment:
   Addressed in 85cdffe0 — reformatted UserInfoModal last_name <Input> to multi-line to match surrounding style. Resolving — thanks for the catch.



##########
superset-frontend/src/features/databases/DatabaseModal/SSHTunnelForm.tsx:
##########
@@ -74,6 +74,7 @@ const SSHTunnelForm = ({
             <Input
               name="server_address"
               type="text"
+              autoComplete="off"
               placeholder={t('e.g. 127.0.0.1')}

Review Comment:
   Addressed in 85cdffe0 — added id="server_address" to match FormLabel htmlFor for proper label-input association. Resolving — thanks for the catch.



##########
superset-frontend/src/features/databases/DatabaseModal/SSHTunnelForm.tsx:
##########
@@ -90,6 +91,7 @@ const SSHTunnelForm = ({
               name="server_port"
               placeholder={t('22')}
               type="number"
+              autoComplete="off"

Review Comment:
   Addressed in 85cdffe0 — added id="server_port" to match FormLabel htmlFor for proper label-input association. Resolving — thanks for the catch.



##########
superset-frontend/src/features/databases/DatabaseModal/SSHTunnelForm.tsx:
##########
@@ -106,6 +108,7 @@ const SSHTunnelForm = ({
             <Input
               name="username"
               type="text"
+              autoComplete="off"

Review Comment:
   Addressed in 85cdffe0 — added id="username" to match FormLabel htmlFor for proper label-input association. Resolving — thanks for the catch.



##########
superset-frontend/src/features/databases/DatabaseModal/SSHTunnelForm.tsx:
##########
@@ -153,6 +156,7 @@ const SSHTunnelForm = ({
               </FormLabel>
               <StyledInputPassword

Review Comment:
   Addressed in 85cdffe0 — added id="password" to match FormLabel htmlFor on StyledInputPassword for proper label-input association. Resolving — thanks for the catch.



##########
superset-frontend/src/features/databases/DatabaseModal/SSHTunnelForm.tsx:
##########
@@ -184,6 +188,7 @@ const SSHTunnelForm = ({
                 </FormLabel>
                 <Input.TextArea

Review Comment:
   Addressed in 85cdffe0 — added id="private_key" to match FormLabel htmlFor on Input.TextArea for proper label-input association. Resolving — thanks for the catch.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "Aitema-gmbh (via GitHub)" <gi...@apache.org>.
Aitema-gmbh commented on code in PR #39232:
URL: https://github.com/apache/superset/pull/39232#discussion_r3232566614


##########
superset-frontend/src/features/databases/DatabaseModal/SSHTunnelForm.tsx:
##########
@@ -201,6 +206,7 @@ const SSHTunnelForm = ({
                 </FormLabel>
                 <StyledInputPassword

Review Comment:
   Addressed in 85cdffe0 — added id="private_key_password" to match FormLabel htmlFor on StyledInputPassword for proper label-input association. Resolving — thanks for the catch.



##########
superset-frontend/src/features/users/UserListModal.tsx:
##########
@@ -187,7 +190,7 @@ function UserListModal({
               },
             ]}
           >
-            <Input name="email" placeholder={t("Enter the user's email")} />
+            <Input name="email" autoComplete="email" placeholder={t("Enter the user's email")} />

Review Comment:
   Addressed in 85cdffe0 — reformatted UserListModal email <Input> to multi-line to match surrounding style. Resolving — thanks for the catch.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "Copilot (via GitHub)" <gi...@apache.org>.
Copilot commented on code in PR #39232:
URL: https://github.com/apache/superset/pull/39232#discussion_r3112525083


##########
superset-frontend/src/features/databases/DatabaseModal/SSHTunnelForm.tsx:
##########
@@ -90,6 +91,7 @@ const SSHTunnelForm = ({
               name="server_port"
               placeholder={t('22')}
               type="number"
+              autoComplete="off"

Review Comment:
   `FormLabel htmlFor="server_port"` won’t associate to this `<Input>` because the input has no matching `id`. Add `id="server_port"` (or align `htmlFor`/`id`) so screen readers correctly announce the label.



##########
superset-frontend/src/features/userInfo/UserInfoModal.tsx:
##########
@@ -81,7 +82,7 @@ function UserInfoModal({
         label={t('Last name')}
         rules={[{ required: true, message: t('Last name is required') }]}
       >
-        <Input name="last_name" placeholder={t("Enter the user's last name")} />
+        <Input name="last_name" autoComplete="family-name" placeholder={t("Enter the user's last name")} />

Review Comment:
   This `<Input>` was changed into a single long JSX line, but the surrounding fields use a multi-line prop layout. Consider reformatting for consistency to improve readability and reduce future diff churn.
   ```suggestion
           <Input
             name="last_name"
             autoComplete="family-name"
             placeholder={t("Enter the user's last name")}
           />
   ```



##########
superset-frontend/src/features/databases/DatabaseModal/SSHTunnelForm.tsx:
##########
@@ -74,6 +74,7 @@ const SSHTunnelForm = ({
             <Input
               name="server_address"
               type="text"
+              autoComplete="off"
               placeholder={t('e.g. 127.0.0.1')}

Review Comment:
   `FormLabel` uses `htmlFor`, which only associates with an input `id` (not `name`). This input currently has no `id`, so the label won’t be programmatically associated for assistive tech. Add an `id` matching the label’s `htmlFor` (or update `htmlFor` to match the actual input `id`).



##########
superset-frontend/src/features/databases/DatabaseModal/SSHTunnelForm.tsx:
##########
@@ -106,6 +108,7 @@ const SSHTunnelForm = ({
             <Input
               name="username"
               type="text"
+              autoComplete="off"

Review Comment:
   `FormLabel htmlFor="username"` requires the input to have `id="username"` to create an accessible label association. This `<Input>` only sets `name`, so the label isn’t linked; add a matching `id`.



##########
superset-frontend/src/features/databases/DatabaseModal/SSHTunnelForm.tsx:
##########
@@ -201,6 +206,7 @@ const SSHTunnelForm = ({
                 </FormLabel>
                 <StyledInputPassword

Review Comment:
   `FormLabel htmlFor="private_key_password"` requires a matching `id` on the password input; currently only `name` is set. Add `id="private_key_password"` (or align `htmlFor`/`id`) so the label is correctly bound.
   ```suggestion
                   <StyledInputPassword
                     id="private_key_password"
   ```



##########
superset-frontend/src/features/databases/DatabaseModal/SSHTunnelForm.tsx:
##########
@@ -184,6 +188,7 @@ const SSHTunnelForm = ({
                 </FormLabel>
                 <Input.TextArea

Review Comment:
   `FormLabel htmlFor="private_key"` won’t associate with this `<Input.TextArea>` because there is no matching `id`. Add `id="private_key"` (or align `htmlFor`/`id`) to ensure the label is announced correctly.
   ```suggestion
                   <Input.TextArea
                     id="private_key"
   ```



##########
superset-frontend/src/features/databases/DatabaseModal/SSHTunnelForm.tsx:
##########
@@ -153,6 +156,7 @@ const SSHTunnelForm = ({
               </FormLabel>
               <StyledInputPassword

Review Comment:
   The `FormLabel` points at `htmlFor="password"`, but the password input has no `id`, so the label isn’t associated for assistive technologies. Add `id="password"` (or align `htmlFor` with the input’s `id`).
   ```suggestion
                 <StyledInputPassword
                   id="password"
   ```



##########
superset-frontend/src/features/users/UserListModal.tsx:
##########
@@ -187,7 +190,7 @@ function UserListModal({
               },
             ]}
           >
-            <Input name="email" placeholder={t("Enter the user's email")} />
+            <Input name="email" autoComplete="email" placeholder={t("Enter the user's email")} />

Review Comment:
   This JSX line is now formatted as a single long line, while adjacent inputs in this component are multi-line. Consider formatting this `<Input>` consistently (e.g., one prop per line) to keep diffs readable and match local style.
   ```suggestion
               <Input
                 name="email"
                 autoComplete="email"
                 placeholder={t("Enter the user's email")}
               />
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe commented on code in PR #39232:
URL: https://github.com/apache/superset/pull/39232#discussion_r4335581144


##########
superset-frontend/src/features/users/UserListModal.tsx:
##########
@@ -139,6 +141,7 @@ function UserListModal({
             >
               <Input
                 name="username"
+                autoComplete="username"

Review Comment:
   This modal creates and edits other people's accounts, but `given-name`, `family-name`, `username` and `email` tell the browser these fields hold the signed-in person's own details. An admin using browser autofill while adding a colleague could end up with their own name, username or email filled into the new user's record. 1.3.5 targets fields about the user filling in the form, so would `autoComplete="off"` be a better fit for these four fields here, keeping the personal tokens on `UserInfoModal` and the login/register pages?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(a11y): WCAG 1.3.5 — add autocomplete attributes to form inputs [superset]

Posted by "Aitema-gmbh (via GitHub)" <gi...@apache.org>.
Aitema-gmbh commented on code in PR #39232:
URL: https://github.com/apache/superset/pull/39232#discussion_r4345548549


##########
superset-frontend/src/features/users/UserListModal.tsx:
##########
@@ -139,6 +141,7 @@ function UserListModal({
             >
               <Input
                 name="username"
+                autoComplete="username"

Review Comment:
   Good catch, @sadpandajoe — agreed. `UserListModal` is an admin form about *other* people's accounts, so the personal tokens don't belong there, and an admin's own autofill could leak into a new user's record. Pushed 7024430bdc: the four fields (first name, last name, username, email) now use `autoComplete="off"`. The two password fields keep `new-password` on purpose: that's the token that stops browsers from offering the admin's own saved credentials and lets them offer a generated password instead. `UserInfoModal` (the signed-in user's own profile), Login and Register keep their personal tokens — that's where 1.3.5 applies.
   
   @rusackas with that change I don't think a block is needed, but happy to adjust if you'd rather handle it differently.
   
   Side note for @rusackas: the collaborator invite on our fork had expired before you could accept it (GitHub drops them after 7 days), so I just sent a fresh one — that should let you push to these branches directly if you ever want to.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org