User talk:SSastry (WMF)

Welcome
Welcome

Hello, SSastry (WMF), and welcome to Wikisource! Thank you for. I hope you like the place and decide to stay. Here are a few good links for newcomers:
 * Help pages
 * Style guide
 * Inclusion policy
 * For Wikipedians

You may be interested in participating in Add the code active projects, PotM or CotW to your page for current wikisource projects.
 * Proofread of the Month
 * Community collaboration
 * Requested texts

You can put a brief description of your interests on your user page and contributions to another Wikimedia project, such as Wikipedia and Commons.

I hope you enjoy contributing to Wikisource, the library that is free for everyone to use! In discussions, please "sign" your comments using four tildes ( ~ ); this will automatically produce your IP address (or username if you're logged in) and the date. If you need help, ask me on my talk page, or ask your question here (click  [ edit] ) and place  before your question.

Again, welcome! Beeswaxcandle (talk) 19:45, 31 December 2014 (UTC)

html5, &lt;tt>, &lt;kbd> and &lt;code>
Recently you discussed some of the mediawiki changes due to html5. When I glanced through some of the reading about compatibility I read that we should be using &lt;kbd> rather than &lt;tt>. When I queried one of our more savvy css users he wondered whether we should just use &lt;code> instead. Are you able to give some guidance on what is the preference, and the safest approach to use of these tags for our community? Thanks. — billinghurst  sDrewth  09:56, 18 August 2016 (UTC)
 * The canonical reference is the HTML5 spec. It says that   is to be used as:

The  element represents user input (typically keyboard input, although it may also be used to represent other input, such as voice commands).

When the  element is nested inside a   element, it represents the input as it was echoed by the system.

When the  element contains a   element, it represents input based on system output, for example invoking a menu item.

When the  element is nested inside another   element, it represents an actual key or other single unit of input as appropriate for the input mechanism.
 * (https://www.w3.org/TR/html5/text-level-semantics.html#the-kbd-element)
 * On the other hand, the  element is marked "obsolete" with the note:

Use appropriate elements or CSS instead.

Where the  element would have been used for marking up keyboard input, consider the   element; for variables, consider the   element; for computer code, consider the   element; and for computer output, consider the   element.
 * Finally, the  element is described as:

The  element represents a fragment of computer code. This could be an XML element name, a file name, a computer program, or any other string that a computer would recognize.
 * (https://www.w3.org/TR/html5/text-level-semantics.html#the-code-element)
 * I hope this helps! Cscott (talk) 19:31, 18 August 2016 (UTC)


 * I seem to have lost the purpose of the question in my detail. :-( I had meant to target the question more about did their WMF plan to move towards intervening in their use as was recently done with &lt;span /> etc. — billinghurst  sDrewth  20:31, 18 August 2016 (UTC)


 * Ah, I see. No, we don't have a plan to force you to to change &lt;tt> to &lt;kbd>/&lt;code>/... etc. SSastry (WMF) (talk) 21:35, 18 August 2016 (UTC)