Permalink
Browse files

fix(link): Only set attribute aria-disabled when disabled

  • Loading branch information...
tmorehouse committed Sep 28, 2017
1 parent 18f5129 commit fe2c34046ea7e320f652afe6646debf5947f4512
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/components/link.js
@@ -192,7 +192,7 @@ export default {
rel,
href,
target: props.target,
"aria-disabled": tag === "a" ? (props.disabled ? "true" : "false") : null
"aria-disabled": (tag === "a" && props.disabled) ? "true" : null
},
props: assign(props, { tag: props.routerTag })
});

0 comments on commit fe2c340

Please sign in to comment.