![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is doing this bad: h3>Some title or other...<a href="#pagetop">back to top</a></h3 I have a feeling it is... My problem is I'm using CSS to style the H3 into a block that spans the whole containing element. I would like the <a> to appear next to the title, but I'm sure this is bad practice (for screen readers and heading-level navigation etc etc) So... is it acceptable to do this: span><h3>Some title or other...</h3><a href="#pagetop">back to top</a></span |
#3
| |||
| |||
|
|
Is doing this bad: h3>Some title or other...<a href="#pagetop">back to top</a></h3 I have a feeling it is... My problem is I'm using CSS to style the H3 into a block that spans the whole containing element. I would like the <a> to appear next to the title, but I'm sure this is bad practice (for screen readers and heading-level navigation etc etc) So... is it acceptable to do this: span><h3>Some title or other...</h3><a href="#pagetop">back to top</a></span Or does nesting the <h3> in a <span> do something horrible to the document structure? Comments, please! ![]() P. |
#4
| |||
| |||
|
|
Is doing this bad: h3>Some title or other...<a href="#pagetop">back to top</a></h3 |
#5
| |||
| |||
|
|
Is doing this bad: h3>Some title or other...<a href="#pagetop">back to top</a></h3 How about removing the "back to top" altogether? Most user agents support a way to return to the top of the page with ease. |
#6
| |||
| |||
|
|
Is doing this bad: span><h3>Some title or other...</h3><a href="#pagetop">back to top</a></span |
#7
| |||
| |||
|
|
"Back to top" links don't make sense in the context of HTML. They are especially worse inside a heading, but that's just on top. So yes it's sort of bad, if you care about HTML, accessibility, usability etc. |
#8
| |||
| |||
|
|
"Back to top" links don't make sense in the context of HTML. They are especially worse inside a heading, but that's just on top. So yes it's sort of bad, if you care about HTML, accessibility, usability etc. With that in mind... I'll get rid of it. As somebody said... "Use the home key!" |
#9
| |||
| |||
|
|
Regardless, one thing that puzzles me is the 'Home key' issue. The only Home key I have on my UA is the one that returns me to my homepage. |
#10
| |||
| |||
|
|
Regardless, one thing that puzzles me is the 'Home key' issue. The only Home key I have on my UA is the one that returns me to my homepage. Yet from this thread, I'm expecting to find a key that takes me to the top of the current page... but I dont. |
![]() |
| Thread Tools | |
| Display Modes | |
| |