CCA: Fix label check in presubmit
This CL fixes the following error by remove the 'for' attribute: Avoid 'for' attribute on <label>. Place the input within the <label>, or use aria-labelledby for <select>. The <input> are already associate with <label> correctly as a direct child. ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label Bug: b/172879638, b/172340545 Test: Pass presubmit checks and manually check with Chromevox Change-Id: Idcf38a2de244b9a3052a0831be28b72c522ca0bf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2554272 Commit-Queue: Shik Chen <shik@chromium.org> Auto-Submit: Shik Chen <shik@chromium.org> Reviewed-by:Inker Kuo <inker@chromium.org> Cr-Commit-Position: refs/heads/master@{#830511}
Showing
Please register or sign in to comment