From ac0c6e886391bcce6a8bb6c661c091aa024f5529 Mon Sep 17 00:00:00 2001 From: Jaylyn Barbee <51131738+Jaylyn-Barbee@users.noreply.github.com> Date: Tue, 29 Oct 2024 13:59:18 -0400 Subject: [PATCH] Small accessibility push (#4840) fixes #4762 ## PR Type Bugfix ## Describe the current behavior? 4762 - required fields in manifest editor are not announced as "required" by narrator ## Describe the new behavior? 4762 - required fields in manifest editor are announced as "required" by narrator ## PR Checklist - [x] Test: run `npm run test` and ensure that all tests pass - [x] Target main branch (or an appropriate release branch if appropriate for a bug fix) - [x] Ensure that your contribution follows [standard accessibility guidelines](https://docs.microsoft.com/en-us/microsoft-edge/accessibility/design). Use tools like https://webhint.io/ to validate your changes. ## Additional Information --- .../manifest-editor/src/components/manifest-info-form.ts | 4 ++-- .../src/components/manifest-settings-form.ts | 2 +- .../manifest-editor/src/components/manifest-share-form.ts | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/components/manifest-editor/src/components/manifest-info-form.ts b/components/manifest-editor/src/components/manifest-info-form.ts index cdd3f3ef2..44b449862 100644 --- a/components/manifest-editor/src/components/manifest-info-form.ts +++ b/components/manifest-editor/src/components/manifest-info-form.ts @@ -545,7 +545,7 @@ export class ManifestInfoForm extends LitElement {

(required)

The name of your app as displayed to the user

- +
@@ -557,7 +557,7 @@ export class ManifestInfoForm extends LitElement {

(required)

Used in app launchers

- +
diff --git a/components/manifest-editor/src/components/manifest-settings-form.ts b/components/manifest-editor/src/components/manifest-settings-form.ts index 9de34b788..c5aa49bc5 100644 --- a/components/manifest-editor/src/components/manifest-settings-form.ts +++ b/components/manifest-editor/src/components/manifest-settings-form.ts @@ -604,7 +604,7 @@ export class ManifestSettingsForm extends LitElement {

(required)

The URL that loads when your PWA starts

- +
diff --git a/components/manifest-editor/src/components/manifest-share-form.ts b/components/manifest-editor/src/components/manifest-share-form.ts index 7498b2a36..3f01408ff 100644 --- a/components/manifest-editor/src/components/manifest-share-form.ts +++ b/components/manifest-editor/src/components/manifest-share-form.ts @@ -939,7 +939,7 @@ export class ManifestShareForm extends LitElement {

(required)

The URL for the web share target

- this.handleTopLevelInputChange("action")} data-field="share_target.action"> + this.handleTopLevelInputChange("action")} data-field="share_target.action" required="true">

Action is a required field and must be in the scope of your PWA

@@ -997,7 +997,7 @@ export class ManifestShareForm extends LitElement {
- this.handleParameterInputChange("title")} data-field="share_target.params.title"> + this.handleParameterInputChange("title")} data-field="share_target.params.title" required="true">
@@ -1006,7 +1006,7 @@ export class ManifestShareForm extends LitElement {
- this.handleParameterInputChange("text")} data-field="share_target.params.text"> + this.handleParameterInputChange("text")} data-field="share_target.params.text" required="true">
@@ -1015,7 +1015,7 @@ export class ManifestShareForm extends LitElement {
- this.handleParameterInputChange("url")} data-field="share_target.params.url"> + this.handleParameterInputChange("url")} data-field="share_target.params.url" required="true">