Closed (won't fix)
Project:
Node Accessibility
Version:
7.x-1.3
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
12 Apr 2013 at 20:39 UTC
Updated:
2 Oct 2014 at 01:56 UTC
Jump to comment: Most recent
Comments
Comment #1
thekevinday commentedCould you supply an example of the code that is failing and the test that failed?
Comment #2
apmsooner commentedSorry for late reply. The latest version of media 2.x includes alt and title fields. Those fields don't seem to be validated by node accesibility likely cause the module doesn't recognize them in it's validation code so even if the fields are populated, the node accessibility module returns a response that they are missing. I think the underlying issue is just that media isn't currently suppported which is why i submitted as a feature request.
Comment #3
thekevinday commentedI have also been using media module of late and have had no issues (using ckeditor).
This module does not (or should not) need to actively support the media module.
The reason for this is that the validation code happens after the media module has converted to media tag to its equivalent html markup.
For example a node with the following body:
[[{"fid":"3910","view_mode":"default","type":"media","attributes":{"style":"width: 48px; height: 48px;","alt":"EpdfView (alt)","title":"EpdfView (title)","class":"media-element file-default"}}]]Gets changed to:
<img style="width: 48px; height: 48px;" alt="EpdfView (alt)" title="EpdfView (title)" class="media-element file-default" typeof="foaf:Image" src="/files/icon_epdfview-48.png" width="48" height="48">And then it gets validated.
So if the alt and title tags are not there, then the Media module did not put them there.
If the markup is there and its still reporting a problem, then supplying the problematic code will help me find the issue.
Here are some Media issues that sound related:
- #1343022: Adding alt and title attributes from fields to image markup
- #1967994: Media tags not converting to complete element with alt and class attributes
- And more: http://drupal.org/project/issues/media?text=alt+tag&status=Open&prioriti...
Comment #4
thekevinday commented