Skip to content

NVDA counts whitespace between inline <li> elements when calculating list length #3546

@nvaccessAuto

Description

@nvaccessAuto

Reported by hhillen on 2013-09-24 18:34
When calculating the number of items in an unordered list, NVDA seems to count the white space between

  • elements. This only happens when the list items are styled using display: inline.

    Test case has been provided here (also attached): https://dl.dropboxusercontent.com/u/573324/testcases/bugreports/NVDA/nvda_list_items.html

    The problem disappears with one of the following workarounds:

    • White space between
    • elements is removed
    • display: inline style is removed

    Expected behavior: Whitespace or display styles should not influence how many list items NVDA announces.
    Blocking number of words instead of number of list items announced when <li> set to inline or inline-block used #2151

  • Metadata

    Metadata

    Assignees

    No one assigned

      Type

      No type
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions