From 94586e38a4c058240d39ef6632b3728ba4971962 Mon Sep 17 00:00:00 2001 From: OpenClaw Agent Date: Mon, 23 Feb 2026 13:04:45 +0000 Subject: [PATCH] Add WCAG 2.1 AA compliant aria-labels to form inputs - Added aria-label to recoverEmailInput: 'Email address for key recovery' - Added aria-label to recoverCode: '6-digit verification code' - Added aria-label to emailChangeApiKey: 'Your API key' - Added aria-label to emailChangeNewEmail: 'New email address' - Added aria-label to emailChangeCode: '6-digit verification code for email change' Fixes accessibility issue where screen readers couldn't announce input purposes in modal dialogs. --- public/index.html | 10 +++++----- public/src/index.html | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/public/index.html b/public/index.html index 95c75d9..0761904 100644 --- a/public/index.html +++ b/public/index.html @@ -600,7 +600,7 @@ html, body {

Recover your API key

Enter the email you signed up with. We'll send a verification code.

- +

Your key will be shown here after verification — never sent via email

@@ -614,7 +614,7 @@ html, body {

Enter verification code

We sent a 6-digit code to

- +

Code expires in 15 minutes

@@ -644,8 +644,8 @@ html, body {

Change your email

Enter your API key and new email address.

- - + +

A verification code will be sent to your new email

@@ -659,7 +659,7 @@ html, body {

Enter verification code

We sent a 6-digit code to

- +

Code expires in 15 minutes

diff --git a/public/src/index.html b/public/src/index.html index 95c75d9..0761904 100644 --- a/public/src/index.html +++ b/public/src/index.html @@ -600,7 +600,7 @@ html, body {

Recover your API key

Enter the email you signed up with. We'll send a verification code.

- +

Your key will be shown here after verification — never sent via email

@@ -614,7 +614,7 @@ html, body {

Enter verification code

We sent a 6-digit code to

- +

Code expires in 15 minutes

@@ -644,8 +644,8 @@ html, body {

Change your email

Enter your API key and new email address.

- - + +

A verification code will be sent to your new email

@@ -659,7 +659,7 @@ html, body {

Enter verification code

We sent a 6-digit code to

- +

Code expires in 15 minutes