duckduckgo / duckduckgo/Android

[Bug] Autofocus support

Open
#3,377 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs triage
Dominant language
Kotlin
Stars
4.8k
Forks
1.4k
Avg merge
2d 17h
Merged PRs (30d)
170

Description

Describe the bug

I have noticed that the browser doesn't offer support to the HTML autofocus attribute.

How to Reproduce

It is possible to reproduce it by accessing the W3 autofocus demonstration.

Expected behavior

The element with the autofocus attribute should be focused when the page loads.

Environment
- DDG App Version: 5.162.0
- Device: Samsung Galaxy S21 FE 5G
- OS: Android 13

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the linked W3 autofocus demonstration on the listed Android device and app version. Trace how the Android app loads and handles the page, then identify the relevant browser behavior and tests. Done means an element using the HTML autofocus attribute receives focus when the page loads without regressing existing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.