-
-
Notifications
You must be signed in to change notification settings - Fork 632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Elements styled with display: inline-block are treated as block elements #1378
Comments
Comment 1 by briang1 on 2011-02-19 10:11 |
Comment 2 by jteh on 2011-02-20 23:54 Technical: The specific issue is that each element it generates uses the inline-block display style. NVDA incorrectly treats this as block, but for our purposes, it should be treated as inline. (Inline-block "causes an element to generate an inline-level block container." We don't care about the container, just whether it is inline- level or not. See http://www.w3.org/TR/CSS2/visuren.html for details.) Brian: I don't understand what you mean with regard to differences between Firefox and IE. For me, it behaves the same way in both browsers. |
Comment 3 by briang1 on 2011-02-21 09:06 |
Attachment inlineBlock.html added by jteh on 2011-02-21 09:55 |
Comment 4 by briang1 on 2011-02-21 10:15 IE... Bringing your software application to market takes more than just time and money. Insuring that your concept changes the world takes a deeper understanding of the vision, intent, and long term strategy of your application. Identifying potential challenges before a line of code is written ensures your project is delivered on time, stable, and on budget to ensure we exceed your expectations. |
Comment 5 by jteh on 2011-02-21 10:19 |
Comment 6 by briang1 on 2011-02-21 12:32 just before the message does make it add the heading before each word, but i notice the blank lines in Firefox also get labelled. even more weird! |
Comment 7 by jteh on 2011-02-28 05:13 |
Comment 8 by jteh on 2011-03-01 11:16 |
Comment 9 by mdcurran on 2011-04-26 01:39 |
Comment 10 by briang1 on 2011-04-26 07:15 |
Comment 11 by jteh (in reply to comment 9) on 2011-04-27 21:56
I think canvas is used if it's supported. cufón uses canvas for Gecko as well. VML is a non-standard, IE-specific technology.
One idea you had a while back was to not treat empty block elements as block. Is this acceptable?
The tricky question is whether a block element inside inline-block really starts a new line. It might start a new line inside the inline-block element, but it might not outside. If it doesn't start a new line outside, the above fix is probably best. That said, I don't really understand why these are block elements, and as you say, they probably should be inline. |
Comment 12 by jteh on 2011-05-23 15:49 Given the above, I'm closing this ticket, as the issue with inline-block nodes themselves is now fixed and cufón works in both Firefox and IE9. |
Comment 13 by fatma.mehanna on 2011-06-26 11:55 |
Comment 14 by ianr on 2011-06-26 19:39 Here is the link again: It is also broken on fatma.mehanna 's link in Firefox 5. |
Comment 15 by fatma.mehanna on 2011-06-26 20:11 |
Comment 16 by jteh on 2011-06-28 05:07 @fatma.mehanna: The example you provided is not related to this ticket and is intentional on the part of the author. The author has actually forced line breaks between every word of that heading. I have no idea why, but that's what they've done. |
Reported by ianr on 2011-02-18 18:12
On some sites nvda will read heading tags as though each word is on it's own line.
Pressing h to get to the heading tag will read the entire heading which is good, but when you press the down arrow key to move to the line below the heading nvda instead reads just the second word of the heading, pressing down again and again gives the third word, then the fourth and so on.
Here is a site that demonstrates the problem:
http://overactdev.com/
The text was updated successfully, but these errors were encountered: