This is a migrated thread and some comments may be shown as answers.

Incorrect usage of H6 in RadDock

1 Answer 9 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Hugo Augusto
Top achievements
Rank 2
Veteran
Hugo Augusto asked on 17 Jan 2019, 03:37 PM

Hello,

with increasing requirements for websites to fulfill WCAG 2.0 Guidelines, I noticed that RadDock is failing AAA tests just because it wraps Titles with an H6 tag, forcing developers to be aware of this in the hierarchy of Headers in a website. Why not use SPAN or P for this or at least allows us to define which Header tag to use in an option of the control?

What do you suggest to fix this for now?

Thank you

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 22 Jan 2019, 03:09 PM
Hi Hugo,

The titlebar offers TitlebarTemplate which you can use to replace the h6 tag with other markup or simply text:

<telerik:RadDock RenderMode="Lightweight" ID="RadDock1" Title="RadDock1" runat="server" Width="200px"
Text="DockHandle is set to None. This mode is suitable for scenarios when you want to disable the drag and drop." CssClass="higherZIndex">
<TitlebarTemplate>Title Text</TitlebarTemplate>
</telerik:RadDock>

Other options to remove the h6 title are to set the DockHandle  to Grip or None:
- DockHandle ="Grip"—the DockHandle will always be grip. RadDock can be dragged using RadDock's grip.
- DockHandle ="None"—the RadDock cannot be dragged.

Best regards,

Rumen
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Dock
Asked by
Hugo Augusto
Top achievements
Rank 2
Veteran
Answers by
Rumen
Telerik team
Share this question
or