Re: Plone 5 Theme

polyester <paula-fsXTdVcv1GdrovVCs/[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
On 15-11-13 01:10, David Glick (Plone) wrote:

> What markup is preferred? Maybe something like this for portlets:
> 
> <aside class="portlet">
>   <header>asdf</header>
>   <section class="portletItem">asdf</section>
>   <footer><a href="...">Read more...</a></footer>
> </aside>
> 


basically, if it ain't a proper, semantic, Definition List:

- use UL
- and yes, you can use aside as well for status messages, but that has
issues with braindead browsers not supporting html5 properly. That not
only includes everybody's favourite object of hate in browserland, but
also jaws, the IE equivalent of the a11y world.

so, the pragmatic (though not 100% correct, but hey pragmatic) thing to
do for portlets and status messages is to use UL, and add enhancements
via aria roles where appropriate. And style the UL's nicely.


paul




------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.