crocs-muni / usable-cert-validation

Research initiative to make TLS certificate validation usable.
https://x509errors.org
MIT License
19 stars 3 forks source link

Better error name copy-paste #119

Open mukrop opened 2 years ago

mukrop commented 2 years ago

Use the accessibility options to copy error name without hyphens?

leonspohr commented 2 years ago

Could you please provide more informations, so that I can start working on this issue?

mukrop commented 2 years ago

Hi, Although the up for grabs label was more meant for anyone in the team, I'm open to external collaborators :-). (That explains why the description was rather brief, more of a note-to-self).

The issue is as follows: To provide a good mobile browsing experience (https://x509errors.org/), all "error block names" have discretionary hyphens after each underscore to wrap nicely on narrow screens. However, when copy-pasting the error code from the website, this is rather impractical (you don't get the error code but the error code with extra hyphens).

This issue needs someone to investigate if there is a better option (retaining the wrapping on narrow screens yet having the correct string copied). Someone told me there may be a way to set a different string to be copied via some HTML accessibility options (though I have never used such a feature before).

So, if you feel like it, do investigate and let me know here if you find a viable solution :-).

leonspohr commented 2 years ago

Ok, I would really like to look into this issue, but I don't really know, where to start. Could you at least tell me, in which HTML file this occurs?

mukrop commented 2 years ago

It's in the template for the error box, https://github.com/crocs-muni/usable-cert-validation/blob/master/_includes/error_box.html

On the fourth line, the error code is input as the title with a replacement filter (underscore for underscore and the hyphen).

On Fri, Oct 15, 2021, 17:13 Qangeldratsch @.***> wrote:

Ok, I would really like to look into this issue, but I don't really know, where to start. Could you at least tell me, in which HTML file this occurs?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/crocs-muni/usable-cert-validation/issues/119#issuecomment-944381672, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOI6PDW6KR27BNH7AFJNNTUHBAIZANCNFSM5F72RM7A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.