Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.
Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.
This is true, title is bad on links, on all tag except one, title should only exists on iframe-tag. For screenreaders.
Here's a blog post about hiding the Title property in the built-in Link dialog via an EditorDescriptor: https://world.episerver.com/blogs/Linda-Mohacsi/Dates/2017/10/hiding-properties-in-the-built-in-link-dialog/
Reposting the code in case the blog ever disappears:
[EditorDescriptorRegistration(
TargetType = typeof(LinkModel),
EditorDescriptorBehavior = EditorDescriptorBehavior.ExtendBase)]
public class EpiLinkEditorDescriptor : EditorDescriptor
{
public override void ModifyMetadata(ExtendedMetadata metadata, IEnumerable<Attribute> attributes)
{
base.ModifyMetadata(metadata, attributes);
foreach (var prop in metadata.Properties)
{
if (prop.PropertyName == "Title")
{
prop.ShowForEdit = false;
}
}
}
}
Hi,
According to our UX designer the "title" attribute is bad for accessibility on links.
Here's more information about titles and accessibility: https://a11yproject.com/posts/title-attributes/
The title attribute can be added when inserting a link in TinyMCE.
We would like to remove this option to make it easiser for web editors to add accessible html.
I hope this makes sense.
Thank you