Last post Feb 10, 2011 05:58 PM by tmorton
Jan 26, 2011 12:09 AM|SGWellens|LINK
The post titles are too large. Actually the relative size is too much greater than the actual text. IE 8:
By contrast the main forums titles are the "correct" size:
Jan 26, 2011 12:15 AM|tmorton|LINK
Thanks for the report, Steve. Can you provide an example of the problematic URL(s) and let me know your browsing environment?
Jan 26, 2011 12:21 AM|SGWellens|LINK
IE8 (with my custom style sheet disabled). Text Size medium.
If I click the Zoom button in the status bar, both the title text and body text change size. And the title text is always more than twice as big as the body text.
Jan 26, 2011 12:39 AM|tmorton|LINK
Hmmmm, I can't repro this in IE8, either with or without Compatibility View. Are you certain your custom stylesheet is disabled? Have you cleared browser cache and hard-refreshed the page? Do you have any plugins which might be interfering with the display?
Jan 26, 2011 10:10 AM|SGWellens|LINK
I had Ignore font sizes specifed on web pages checked. When I unchecked that, the fonts looked reasonable. I ususally have that checked so that when I zoom in on a page the text also get larger.
However, while I was poking around I saw that on post pages the titles were marked with the <h2> element while on the main forums page the titles were marked with the <h4> element. Maybe an inappropriate element (<h2>)
is being used and it is being corrected/hidden by a hardcoded font size.
Feb 10, 2011 02:58 PM|tmorton|LINK
If that checkbox is activated, and you're not using a custom stylesheet, the styles will fall back to the default browser styles. And semantically speaking, an H2 element is correct for the page. So, in short, we are going to leave the page as is, and I recommend
using a custom stylesheet if you are going to have the browser ignore the font sizes specifiedl.
Feb 10, 2011 03:20 PM|SGWellens|LINK
And semantically speaking, an H2 element is correct for the page.
One page uses H2 and the other uses H4 for the same heading, so one of them must be semantically incorrect.
Isn't H1 used for a main titles, H2 sub titles and the H3/H4/H5 used for sections and subsections?
Once the beta is released, I will update my custom style sheet: I don't expect you to make changes for one user. However, if other users have the same problem or you run into accessibility violations, you may want to revisit this.
Feb 10, 2011 05:58 PM|tmorton|LINK
The same piece of data could have a different place in a page hierarchy.
If you use the Web Developer plugin for Firefox, then choose Information, then View Document Outline, you can see the DOM structure for the page.
For the ASP.NET Forums landing page (http://beta-forums.asp.net/), the outline looks like this:
For the individual forum threadlist pages (e.g.
http://beta-forums.asp.net/15.aspx?Getting+Started), the outline looks like this:
So, I think that H4 and H2 are appropriate on the 2 different pages (although I think the H3 heading should contain the forum group on the landing page and I have now logged this as a bug).