Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
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