From 7c8cc6c0e13eff1a14d0d94f35f43fb5bb62bbf0 Mon Sep 17 00:00:00 2001 From: Steve Tynor Date: Wed, 10 Dec 2025 02:19:40 -0500 Subject: [PATCH] Add aria-label to elements in the helloworld app templates (#4760) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add aria-label to elements in the helloworld app templates so they can be directly tested by Appium based E2E test clients * changelog updated * fix: restore UNRELEASED_CHANGELOG.md to correct state Remove accidentally merged changelog entries from other PRs and restore the base entries from v3-alpha with only this PR's changelog entry. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --------- Co-authored-by: Lea Anthony Co-authored-by: Claude Opus 4.5 --- v3/UNRELEASED_CHANGELOG.md | 9 +++++---- v3/internal/templates/base/frontend/index.html | 6 +++--- .../templates/lit-ts/frontend/src/my-element.ts.tmpl | 6 +++--- .../templates/lit/frontend/src/my-element.js.tmpl | 6 +++--- v3/internal/templates/qwik-ts/frontend/src/app.tsx.tmpl | 6 +++--- v3/internal/templates/qwik/frontend/src/app.jsx.tmpl | 6 +++--- v3/internal/templates/solid-ts/frontend/src/App.tsx.tmpl | 6 +++--- .../templates/svelte-ts/frontend/src/App.svelte.tmpl | 6 +++--- .../templates/svelte/frontend/src/App.svelte.tmpl | 6 +++--- .../sveltekit-ts/frontend/src/routes/+page.svelte.tmpl | 6 +++--- .../sveltekit/frontend/src/routes/+page.svelte.tmpl | 6 +++--- v3/internal/templates/vanilla-ts/frontend/index.html | 6 +++--- v3/internal/templates/vanilla/frontend/index.html | 6 +++--- .../vue-ts/frontend/src/components/HelloWorld.vue.tmpl | 6 +++--- .../vue/frontend/src/components/HelloWorld.vue.tmpl | 6 +++--- 15 files changed, 47 insertions(+), 46 deletions(-) diff --git a/v3/UNRELEASED_CHANGELOG.md b/v3/UNRELEASED_CHANGELOG.md index 7ca7cc6a3..0f72db16f 100644 --- a/v3/UNRELEASED_CHANGELOG.md +++ b/v3/UNRELEASED_CHANGELOG.md @@ -1,6 +1,6 @@ # Unreleased Changes - +- Add origin to raw message handler by @APshenkin in [PR](https://github.com/wailsapp/wails/pull/4710) +- Add universal link support for macOS by @APshenkin in [PR](https://github.com/wailsapp/wails/pull/4712) +- Refactor binding transport layer by @APshenkin in [PR](https://github.com/wailsapp/wails/pull/4702) +- Add aria-label identifiers to the helloworld templates so that the example app can be easily tested by Appium test clients by @chinenual in [PR](https://github.com/wailsapp/wails/pull/4760) ## Changed ## Fixed -- Added missing window name to request headers, so it can be logged with the window ID by @jasikpark in [#4687](https://github.com/wailsapp/wails/pull/4687) - -- Fix issue where `common:update:build-assets` command overwrites instead of updating plist files by @rxliuli in [#4636](https://github.com/wailsapp/wails/pull/4636) ## Deprecated diff --git a/v3/internal/templates/base/frontend/index.html b/v3/internal/templates/base/frontend/index.html index b81d9729f..ec262d00a 100644 --- a/v3/internal/templates/base/frontend/index.html +++ b/v3/internal/templates/base/frontend/index.html @@ -19,10 +19,10 @@

Wails + Javascript

-
Please enter your name below 👇
+
Please enter your name below 👇
- - + +
-
${this.result}
+
${this.result}
- this.name = (e.target as HTMLInputElement).value} type="text" + this.name = (e.target as HTMLInputElement).value} type="text" autocomplete="off"/> - +
-
${this.result}
+
${this.result}
- this.name = e.target.value} type="text" + this.name = e.target.value} type="text" autocomplete="off"/> - +

Wails + Qwik

-
{result.value}
+
{result.value}
- name.value = (e.target as HTMLInputElement).value} type="text" autocomplete="off"/> - + name.value = (e.target as HTMLInputElement).value} type="text" autocomplete="off"/> +

Wails + Qwik

-
{result.value}
+
{result.value}
- name.value = e.target.value} type="text" autocomplete="off"/> - + name.value = e.target.value} type="text" autocomplete="off"/> +

Wails + Solid

-
{result()}
+
{result()}
- setName(e.currentTarget.value)} type="text" autocomplete="off"/> - + setName(e.currentTarget.value)} type="text" autocomplete="off"/> +

Wails + Svelte

-
{result}
+
{result}
- - + +

Wails + Svelte

-
{result}
+
{result}
- - + +

Wails + Svelte

-
{result}
+
{result}
- - + +

Wails + Svelte

-
{result}
+
{result}
- - + +

Wails + Typescript

-
Please enter your name below 👇
+
Please enter your name below 👇
- - + +

Wails + Javascript

-
Please enter your name below 👇
+
Please enter your name below 👇
- - + +