Table Accessibility with Caption alignment

1 Answer 35 Views
Editor
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Bob asked on 16 Dec 2024, 09:07 PM
This can be tested using the Kendo editor demo on the website.  Create a table using the Wizard and under the Advanced tab, create a Caption in the Accessibility options.  Select a bottom alignment for the caption.  Although the style of vertical-align: bottom is applied to the caption, the text of the caption is still shown above the table.  Is this the correct way for the caption alignment to work?  Our clients expected the caption to be positioned below the table when selecting one of the bottom alignment options.  Thanks for any help.

1 Answer, 1 is accepted

Sort by
0
Accepted
Martin
Telerik team
answered on 19 Dec 2024, 01:58 PM

Hello, Bob,

The behaviour is expected as only the caption alignment, and not the position, is controlled from the Caption Alignment dropdown. A possible approach would be to use custom logic to  bind to the change event of the dropdownlist for the alignment, and if bottom is chosen, you can add caption-side:bottom style to the caption element.

Let me know if that would work for you.

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Bob
Top achievements
Rank 3
Iron
Iron
Veteran
commented on 19 Dec 2024, 02:18 PM

Hello Martin, thank you for that suggestion.
Tags
Editor
Asked by
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Answers by
Martin
Telerik team
Share this question
or