Make links to 'page-not-created' articles inert? #300
-
Currently, yari transforms links to pages that aren't created yet by adding This class adds styles that show sighted users that the page isn't working. I think this approach has several issues:
The latter point itself seems reason enough to revisit this. A solution could be to remove links semantics (to prevent confusion for users visiting them) and to explicitly add something like This is intended to start the discussion around the topic. There might be other things to consider (for example, I've seen that there is also logic for showing UI when the target page exists but only in another language). When we settle on a potential solution, I'd be happy to help with contributing the implementation. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Thank you for starting the discussion, @robinmetral. /cc @mdn/core-dev |
Beta Was this translation helpful? Give feedback.
-
Thanks for reporting. The first (and second?) points no longer apply since mdn/rari@d532969 where the For the third point, does it still apply? The article seems to suggest that making edit: for convenience, there are two example 404s here (that may not be fixed right away) to see current implementation https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Experimental_features#trusted_types_api |
Beta Was this translation helpful? Give feedback.
Thanks for reporting. The first (and second?) points no longer apply since mdn/rari@d532969 where the
href
is removed in favor of a data attribute, so there are no 404ing internal links like this.For the third point, does it still apply? The article seems to suggest that making
page not created
part of the link text would help in these cases, is that correct?edit: for convenience, there are two example 404s here (that may not be fixed right away) to see current implementation https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Experimental_features#trusted_types_api