[Programmatic Access - Bot Framework Web Chat - Card Restaurant]: Date control does not have a label under the 'Card Restaurant' section. #5355
Labels
area-accessibility
Bot Services
Required for internal Azure reporting. Do not delete. Do not change color.
bug
Indicates an unexpected problem or an unintended behavior.
customer-reported
Required for internal Azure reporting. Do not delete.
external-adaptive-cards
Is it an issue related to Adaptive Cards?
No.
What is the PWD impact?
User Experience:
Aria-label attribute or title attribute is used to make details about the control accessible to screen readers. If aria-label or title is not defined descriptively for the controls, then visually impaired users who depend on screen readers will get disoriented and will face difficulty in understanding the control.
Note:
User credentials should NOT be included in the bug.
What browsers and screen readers do this issue affect?
Windows: Edge with Windows Narrator
Are there any code-based customization done to Web Chat?
No, I am using Web Chat without any customizations except "styleOptions".
What version of Web Chat are you using?
Latest production
Which area does this issue affect?
Others or unrelated
What is the public URL for the website?
https://compulim.github.io/webchat-loader/
How to reproduce the issue?
What do you expect?
Date control should have a label under the 'Card Restaurant' section.
What actually happened?
Date control does not have a label under the 'Card Restaurant' section.
Observation: Screen reader (Narrator, NVDA and JAWS) is announcing as 'day spin button 0 min 1 max 31'.
Do you have any screenshots or recordings to repro the issue?
https://github.com/user-attachments/assets/74da6272-2480-4a3b-8fd2-7364319f54aa
Did you find any DOM elements that might have caused the issue?
Issue:
Ensures every form element has a label (label - https://accessibilityinsights.io/info-examples/web/label)
Target application:
Web Chat - https://compulim.github.io/webchat-loader/webchat.html?v=4.18.1-main.20240927.ea7a875&p=ws&sr=westus&uid=r_bqr9vf6r6t&cid=B3cRDtaEkLkIMeSle0wp0C-us&dt=eyJhbGciOiJSUzI1NiIsImtpZCI6Ik5MZjUwanFheTN1R0VpQUpOV29EWmZzRnE4QSIsIng1dCI6Ik5MZjUwanFheTN1R0VpQUpOV29EWmZzRnE4QSIsInR5cCI6IkpXVCJ9.eyJib3QiOiJoYXdvLW1vY2tib3Q0LW1vY2stYm90LWJvdCIsInNpdGUiOiJwRVp0UExiaTd5TSIsImNvbnYiOiJCM2NSRHRhRWtMa0lNZVNsZT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AYl2wWwndHpA6CvEKfHCoaD6k5FcquqzccAGjf4eCFzJY5tkeXNVj6hi65hCkk-QokPCa_HM6xnKyFfVDk9vkAms_GDbmuVwCkvOlvSbJhl_HAJZDvOCwzOYcyuuonFS8BTPBiBE07HocFKw7PgzzufqI8jY0mAy7HKVEZoKrrCSp02ytOeqOOdcPC58Fz_f-uVw8HgAYMPXv22Rk2-sebsFXhcFwxIRtFMsrTjN4brD5PYhSzp0RcIEvm0QzitpQb8LWiLzcGmY9av-tjrd8aRKn4GuDARfBJiwDpeIQ
Element path:
#__ac-e2de7b30-29f1-4f71-8370-4640d2aef458
Snippet:
input type="date" tabindex="0" class="ac-input ac-dateInput" id="__ac-e2de7b30-29f1-4f71-8370-4640d2aef458" style="width: 100%; min-width: 0px;"
How to fix:
Fix any of the following:
Form element does not have an implicit (wrapped)
Form element does not have an explicit
aria-label attribute does not exist or is empty
aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
Element has no title attribute
Element has no placeholder attribute
Element's default semantics were not overridden with role="none" or role="presentation"
MAS reference
MAS 4.1.2 – Name, Role, Value
WCAG reference
No response
WAI-ARIA reference
No response
Adaptive Card JSON
No response
Additional context
Note:
The text was updated successfully, but these errors were encountered: