SAP / fundamental-ngx

Fundamental Library for Angular is SAP Design System Angular component library
https://sap.github.io/fundamental-ngx
Apache License 2.0
267 stars 127 forks source link

[Accessibility: ACC-264.1] Date Picker: Ensure ARIA roles, states, and properties are valid. #12591

Open divyamalhotra488 opened 1 week ago

divyamalhotra488 commented 1 week ago

Is this a bug, enhancement, or feature request?

Bug

Describe your proposal.

Developers must use valid markup and follow the rules of the ARIA specification.

Can you handle that on the application side

No

Which versions of Angular and Fundamental Library for Angular are affected? Please, specify the exact version. (If this is a feature request, use current version.)

All

If this is a bug, please provide steps for reproducing it; the exact components you are using;

Component used: Date Picker The aria-expanded attribute is not allowed on all date picker INPUT fields. Code Snippet: <input aria-describedby=”fd-date-picker-form-message-2” aria-required=”false” aria-label=”Date range input” aria-expanded=”false” placeholder=”dd/mm/yyyy – dd/mm/yyyy” class=”fd-input fd-input-group__input ng-untouched ng-pristine ng-valid” aria-autocomplete=”none” aria-haspopup=”grid” fd-input-group-input=”” type=”text”>

Please provide relevant source code (if applicable).

Please provide stackblitz example(s).

You can try ngx examples, issue is reproducible there.

In case this is Accessibility related topic, did you consult with an accessibility expert? If not, please do so and share their recommendations.

Yes, issue is raised by an accessibility expert.

Did you check the documentation and the API?

Yes

Did you search for similar issues?

Yes

Is there anything else we should know?

IMPORTANT: Please refrain from providing links or screenshots of SAP's internal information, as this project is open-source, and its contents are accessible to anyone.

droshev commented 6 days ago

@divyamalhotra488 Can you provide more information, what the issue is, what you try to achieve and what exactly is wrong?