duckduckgo / duckduckgo/Android
[Bug] Autofocus support
Nobody has claimed this yet.
- 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
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.
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