WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Question: inlne headings

for

From: Michael Moore
Date: Aug 21, 2013 9:27AM


Patrick,

Would you consider using a span with a role of heading as an alternative
approach to resolving Bevi's question about in-line headings? I realize
this does not address the issue of what to do with a PDF but would like
your opinion.

<p><span role="heading" aria-level="2">Methods</span>Estimates are based on
data collected during 2012.</p>

Bevi,

For the PDF solution I would adjust the tagging using Acrobat Pro on the
final document. Using the touch up reading order tool, select the text to
be made a heading and tag it as a heading level 2. Select the text to be in
the trailing paragraph and make it a paragraph. I do not know of a solution
to apply in inDesign that would result in the correct original tag
structure.


On Sat, Aug 17, 2013 at 2:00 AM, Patrick H. Lauke < <EMAIL REMOVED> >wrote:

> Perhaps enclosing them in a container and making them inline?
>
> <style>
> .runin h2 { font-size: 1em; }
> .runin h2, .runin p { display:inline; }
> .runin h2::after { content:" - "; }
> .runin { padding-bottom: 1em;}
> </style>
>
> <div class="runin"><h2>Objective</h2>
> <p> This report presents national estimates of blue widgets.</p>
> </div>
> <div class="runin">
> <h2>Methods</h2>
> <p>Estimates are based on data collected during 2012.</p>
> </div>
>
> P
>
> On 17/08/2013 05:44, Chagnon | PubCom wrote:
> > My government clients use a visual design technique called inline
> headings
> > or run-in heads. I'm trying to develop a way to make them accessible.
> >
> > Sample of 2 paragraphs in the original format follows. The first word of
> > each paragraph is visually formatted to stand out, either with bold,
> > italics, or color.
> >
> > Objective-This report presents national estimates of blue widgets
> >
> > Methods-Estimates are based on data collected during 2012.
> >
> >
> >
> > I think they should be formatted as headings, H2, but because the words
> > "objective" and "methods" are part of a larger paragraph of body text,
> they
> > can't be formatted as headings. Headings are formatted for the entire
> > paragraph, not a partial paragraph.
> >
> > Is there any tag that's appropriate for these "mini headings" at the
> > beginning of a paragraph of body text?
> >
> >
> >
> > Another option is to split them into a heading paragraph and a body text
> > paragraph, but this is counter to US federal publishing guidelines.
> Sample
> > of this method (with the tags) follows:
> >
> > <H2> Objective
> >
> > <P> This report presents national estimates of blue widgets.
> >
> > <H2> Methods
> >
> > <P> Estimates are based on data collected during 2012.
> >
> >
> >
> > Your thoughts?
> >
> > - Bevi Chagnon
> >
> > PubCom.com - Trainers, Consultants, Designers, and Developers.
> >
> > Print, Web, Acrobat, XML, eBooks, and U.S. Federal Section 508
> > Accessibility.
> >
> > > > > > > >
>
>
> --
> Patrick H. Lauke
> > re·dux (adj.): brought back; returned. used postpositively
> [latin : re-, re- + dux, leader; see duke.]
>
> www.splintered.co.uk | www.photographia.co.uk
> http://redux.deviantart.com | http://flickr.com/photos/redux/
> > twitter: @patrick_h_lauke | skype: patrick_h_lauke
> > > > >