html - Blazor 键盘导航到 ADA 网站
问题描述
<div class="flex-m w-full p-b-33">
<div class="contact100-form-checkbox inputFocus">
<InputCheckbox aria-label="I hereby certify that all of the information listed on this application is true and complete. I understand that any false, incomplete or misleading information given by me on this application is sufficient cause for rejection." class="input-checkbox100" id="ckb1" Style="background: #918f8f;" name="remember-me" @bind-Value="CurrentCustomerSubmission.AcceptedTermsAndConditions" />
<label class="label-checkbox100" for="ckb1">
<span class="txt1">
<a onfocus="() => document.getElementById('ckb1').checked = !document.getElementById('ckb1').checked;" class="txt2 hov1" style="color:darkblue;">
I hereby certify that all of the information listed on this application is true and complete. I understand
that any false, incomplete or misleading information given by me on this application is sufficient cause for rejection.
</a>
</span>
</label>
<ValidationMessage For="@(() => CurrentCustomerSubmission.AcceptedTermsAndConditions)" />
</div>
</div>
此特定代码不允许我仅使用键盘选择复选框。我可以选择所有其他文本框和按钮,但由于某种原因,它会跳过此控件。
任何的意见都将会有帮助。我需要为 ADA(美国残疾人)准备好我的申请
解决方案
推荐阅读
- amazon-web-services - 如果给定 RDS DbiResourceId,我是否可以连接到任意 RDS 数据库实例?
- azure-logic-apps - 嵌套逻辑应用程序 - 从子级获取状态代码
- ruby-on-rails - 在 postgres 数据库中保存来自 Shopify API 的 GraphQL 查询
- php - 如何将 cmb2 限制为特定页面模板
- nativescript - Nativescript CameraPlus 预览也放大了
- javascript - 在 setInterval 运行后,PHP javascript 刷新 div 用多个计时器打破页面
- java - 我的神经网络应该使用什么输入?
- php - 使用 $wpdb->insert 将包含撇号的用户输入文本保存到数据库表中
- java - 已编辑!!未调用的 getter 函数导致 JPanel 在错误的位置重新打印
- firebase - 将 Firebase Crashlytics SDK 列入白名单