New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It says it's OK to have a a
in button
#75
Comments
The |
So, instead of saying it's OK, maybe the tool should say "I don't know, it depends"? |
I'm sorry, but with the current implementation and making the result of tag matching, this approach is not possible. Perhaps, in the next versions it will be possible. |
This is a huge accessibility problem to have links in buttons and, yes, developers do that sometimes. It makes the functionality (a button or a link? I can't know) unusable for some disabled people. We all know people don't read documentation. So, this "yes, you can" is dangerous for web accessibility. |
Yes you are right! Links to understand the presence or absence of an attribute in a link
Short conclusion for the current situation.Since the absence of an Applied to the current implementation of tag comparison.But now imagine that the current tag comparison engine will need to know this additional information, and not only rely on the description of conditions in the Categories and the Content Model of tags. Additional functionality needs to be added with exceptions and information where you can read and understand. I'm sure there can be such a problem with other tags too, if the engine follows the documentation but not the logic. Again, the context in which the tag is used matters. Even without additional attribute information, poor results can be obtained from "caninclude" website. Additional informationNeed help from the community to collect a list of semantically incorrect inclusion one tag to another that are not so obvious from the documentation, so that the simple mechanism doesn't just compare by following the documentation, but has support in the form of exceptional rules. Perhaps any ideas how to implement this is clearer for the end user |
Previously, there was ticket #25 for this problem, but at that time the engine did not distinguish between conditional parameters (if ... then) in the category section of the tag. After solving the problem, the parsing of the documentation was changed to support conditional parameters, and I thought it would be understandable that way. But I missed important semantic points that are not in the documentation. In this case, the end user will need proof in the form of links to authoritative articles. And then let them decide how to use this information. @juliemoynat Thank you for paying attention to this, for me it is very valuable. |
Thank you for taking this important point into account. I'm not sure there are other cases like this but if I find one, I will tell you. About the mechanism to ask precision about the attributes on the tag, it could be a second question like "does the parent tag have this attribute? [dropdown list of the interesting attributes]". According to the answer, it could change the content in the page. |
Interestingly, the similar nesting " (There is another issue with the |
In the new version of the website, the problem I reported is fixed. Thank you. I close the issue. |
Hi,
The request for "Can I include
a
inbutton
" has a wrong result as it says it's OK but it's not because the content model is:The text was updated successfully, but these errors were encountered: