Semantics
-
Semantics
Hi. Thank You for the wonderful world of WordPress. I have set up and changed things on the default setup to suit my needs without:- Posting here before
- Any PHP experience
- Any XHTML experience
- Any CSS experience
That tells me (and you maybe?) that the WordPress blog system is powerful and easy to use. What facinates me is the standards and the semantic orientation in the WordPress community. However, there is a little slip in semantics (I believe).
None of the tekst indicating the menu categories (ie: Links, Categories, Search) are semantically attached to the category that they belong. For instance is the Search label just text, with no code indicating it’s meaning and attachment to the Search form.
For future releases maybe this should be thought of? Btw: This is also a requirement in most accessibility guidelines. Here is how I solved it. Can someone litterate in XHTML and semantics please give me feedback. Can WordPress team use this?
<li id="search"> <form id="searchform" method="get" action="<?php echo $PHP_SELF; /*$siteurl."/".$blogfilename*/ ?>"><label for="ss" <span class="blah" </span>Search:</label>
<div>
<input name="search" id="ss" type="text" size="15" title="Please enter your searches here."" alt="Search-field" />
</div>
</form>
Well.. That was my first post here and my 2 cents in the semantics discussion. NOW the Search text is semantically attached to the search field.
Cheers from Andreas
- The topic ‘Semantics’ is closed to new replies.