[wp-trac] [WordPress Trac] #3606: [B] and [I] buttons shouold
insert bold and italic tags
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 17 17:57:45 GMT 2007
#3606: [B] and [I] buttons shouold insert bold and italic tags
----------------------------+-----------------------------------------------
Reporter: nickshanks | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.2
Component: Administration | Version: 2.1
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
Those new funky button things on the top of the Write Post input box don't
insert the right HTML tags.
There has been a lot of discussion about the benefits/failures of semantic
<strong> and <em> and their visual counterparts, <b> and <i>. The general
concensus was that for WYSIWYG editors to be inserting <strong> and <em>
is wrong, because users have already done the conversion from semantic
meaning to visual representation in their heads, and clicked the Bold or
Italic button as appropriate. By outputting <em> when a user wants to, for
example, give a book title is wrong, but users will still click the [I]
button for italic styling, even if the book title now has <em> instead if
another tag (such as <cite>) surrounding it.
Basically by outputting <em> without knowing *why* the user wants italic
text, you are breaking the semantics of the element, and just turning into
a synonym for <i>.
--
Ticket URL: <http://trac.wordpress.org/ticket/3606>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list