Comments (3)
Hi, @tbezawada-git,
I tested a couple of examples from our website demos in order to reproduce the mentioned behavior, but I was not able to. It would be very helpful if you share more details about the component configuration you use or a working example with an error causing so I can explore it further.
Regards,
Ivaylo
from kendo-vue.
Hi @iadnonov
Thank you for your response. Here are the additional details regarding our configuration and the specific issue we are facing:
Environment:
Vue Version: 2.7.16
Bootstrap Version: 4.1.1
Initial Kendo UI Package Versions:
@progress/kendo-datasource-vue-wrapper: ^2018.3.1018
@progress/kendo-dateinputs-vue-wrapper: ^2018.2.620
@progress/kendo-grid-vue-wrapper: ^2018.2.620
@progress/kendo-theme-bootstrap: ^2.11.9
@progress/kendo-ui: ^2018.1.226
Issue Details:
Accessibility Tags: We noticed that the grid/pagination components have accessibility tags added in the version.
Accessibility Error: The issue reported by accessibility testing tools (such as AllyCAT) is: "Ensures elements with an ARIA role that require parent roles are contained by them. Required ARIA parent roles not present: menu, menubar, group." and please find the Screenshot
Existing Issue: Even after updating to the latest versions, we are still encountering issues where menuitem and menuitemradio roles need a parent role.
Vue component code :
`<template>
<div class="paginateItem">
<b-pagination
role="group"
aria-busy="true"
:aria-label="'pagination'"
:total-rows="totalRows"
v-model="currentPageIndex"
:per-page="pageSize"
size="sm"
align="right"
@change="changePage({ pageNumber: $event })"
ref="bPagination"
/>
</div>
</template>`
> `<script>
> export default {
> data() {
> return {
> totalRows: 100, // Generic value
> currentPageIndex: 1, // Generic value
> pageSize: 10, // Generic value
> };
> },
> methods: {
> changePage({ pageNumber }) {
> this.currentPageIndex = pageNumber;
> // Placeholder for additional logic
> },
> },
> };
> </script>`
And Rendered HTML:
> <div class="paginateItem">
> <ul role="group" aria-disabled="false" aria-label="pagination" class="pagination b-pagination pagination-sm justify-content-end" aria-busy="true">
> <li role="none presentation" class="page-item">
> <a role="menuitem" tabindex="-1" aria-label="Goto first page" href="#" target="_self" class="page-link">
> <span aria-hidden="true">«</span>
> </a>
> </li>
> <li role="none presentation" class="page-item">
> <a role="menuitem" tabindex="-1" aria-label="Goto previous page" href="#" target="_self" class="page-link">
> <span aria-hidden="true">‹</span>
> </a>
> </li>
> <li role="none presentation" class="page-item">
> <a role="menuitemradio" tabindex="-1" aria-label="Goto page 1" aria-checked="false" aria-posinset="1" aria-setsize="43" href="#" target="_self" class="page-link">1</a>
> </li>
> <li role="none presentation" class="page-item active">
> <a role="menuitemradio" tabindex="0" aria-label="Goto page 2" aria-checked="true" aria-posinset="2" aria-setsize="43" href="#" target="_self" class="page-link btn-primary">2</a>
> </li>
> <li role="none presentation" class="page-item">
> <a role="menuitemradio" tabindex="-1" aria-label="Goto page 3" aria-checked="false" aria-posinset="3" aria-setsize="43" href="#" target="_self" class="page-link">3</a>
> </li>
> <li role="none presentation" class="page-item d-none d-sm-flex">
> <a role="menuitemradio" tabindex="-1" aria-label="Goto page 4" aria-checked="false" aria-posinset="4" aria-setsize="43" href="#" target="_self" class="page-link">4</a>
> </li>
> <li role="separator" class="page-item disabled d-none d-sm-flex">
> <span class="page-link">…</span>
> </li>
> <li role="none presentation" class="page-item">
> <a role="menuitem" tabindex="-1" aria-label="Goto next page" href="#" target="_self" class="page-link">
> <span aria-hidden="true">›</span>
> </a>
> </li>
> <li role="none presentation" class="page-item">
> <a role="menuitem" tabindex="-1" aria-label="Goto last page" href="#" target="_self" class="page-link">
> <span aria-hidden="true">»</span>
> </a>
> </li>
> </ul>
> </div>
We would appreciate any guidance or workarounds to resolve these issues without making extensive changes to our codebase.
from kendo-vue.
Hi, @tbezawada-git,
Thank you for providing the additional details.
I understand how urgent fixing this issue is for your app. I tried to reproduce the issue with our latest version 2024.2.514, but still was not able to. In the following example, I am using a Pager for one of my tests. Can you please inspect it and confirm if the issue persists in this example on your end?
https://stackblitz.com/edit/u8hryv?file=src%2Fmain.vue
As a side note, the Kendo Vue Wrappers are in a period of depreciation. The last version was released in May 2024 with one year of support till May, 2025. More details can be found in our documentation page.
from kendo-vue.
Related Issues (20)
- [Bug][DropDownTree] Menu does not close when using filtering HOT 1
- [Bug][Grid] large memory when using lots of cells
- [Bug][Rating] Wrong import for utils/index HOT 1
- [Bug][MultiSelect, Form] Error is thrown when a value is entered in the input of the component
- [Inputs][DateInputs] Allow clearing value using "undefined"
- [Bug][Grid] Filtering data on Firefox triggers errors in selectionChange & headerselectionchange events
- [Bug][TreeList] - Locked column does not remain fixed when scrolling horizontally
- [Bug][TreeList] Column resizing has inconsistent behavior and is unusable
- [Enhancement][Tooltip] Provide option for setting class and styles to the DIV element rendered for the Tooltip wrapper
- [Bug][DropDownTree] If there is no "label" set to the component, the "style" properties are not set to the wrapping element HOT 1
- [Enhancement][Calendar] Add option for overriding the "Today" button or to use the string from the locale data
- [Bug][Grid] Enabling reorderable for the column in combination with columnMenu causes unexpected behavior when opening the columnMenu
- [Bug][Chart] ChartSeriesItemTooltip is rendered outside the view area of the component
- [Bug][Grid] Grouping elements are not navigatable
- [Bug][Editor] Clicking on the table tools (AddRow, AddColumn) loses the focus HOT 1
- [Bug][TimePicker] Scroll speed in Time picker very fast
- [Bug][DropDownList] Missing Accessibility attributes in the popup
- [Bug][DateTimePicker] onBlur events are thrown when interacting with the popup
- [Bug][Grid] Reordering of columns with virtual scroll is not applied until the user scrolls
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kendo-vue.