Skip to content

Commit

Permalink
use axs.properties.findTextAlternatives instead of getTextFromDescend…
Browse files Browse the repository at this point in the history
…antContent
  • Loading branch information
jdan committed Jul 23, 2015
1 parent 28209fd commit 7b64252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/link-text/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class LinkTextPlugin extends Plugin {
* like `aria-label`) is unclear.
*/
validateTextContent(el) {
let extractedText = $.axs.properties.getTextFromDescendantContent(el);
let extractedText = $.axs.properties.findTextAlternatives(el, {});
return {
extractedText: extractedText,
result: this.isDescriptiveText(extractedText),
Expand Down

0 comments on commit 7b64252

Please sign in to comment.