Skip to content

Web accessibility: focus order is wrong. #777

@gentlee

Description

@gentlee

On web platform when pressing Tab key on keyboard, rows are focused not one after another, but with strange order.

For example after 16 row it starts focusing header and browser buttons, and only then continues to focus 17 etc.

Possible reason is incorrect element positions in DOM.

Usage example:

<RecyclerListView
  canChangeSize
  suppressBoundedSizeException
  style={styles.recyclerListView}
  dataProvider={dataProvider}
  layoutProvider={this.layoutProvider}
  rowRenderer={this.renderRecyclerListViewRow}
  isHorizontal={false}
  forceNonDeterministicRendering={isWeb ? this.isMounted : true}
  extendedState={extendedState}
  onVisibleIndicesChanged={visibleIndicesChangedHandler}
  contextProvider={this.contextProvider}
/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions