Skip to content
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

Mouse icon: No change possible on disabled state #14522

Closed
msg-ptavoul opened this issue Jan 10, 2024 · 3 comments
Closed

Mouse icon: No change possible on disabled state #14522

msg-ptavoul opened this issue Jan 10, 2024 · 3 comments

Comments

@msg-ptavoul
Copy link

Describe the bug

Old Bug:
#1385

The need to use a different mouseicon for the "disabled" state in german and also in european-government applications is mandatory. Via EU Laws the different States are forced to implement the rules of accessibility. For this example the Rules "1.4.1 Use of Color" and "1.4.11 Non-text contrast" of the WCAG 2.1 come to frution. The Rules are also implemented in the DIN EN 301549 v3.1.1.

This means the colorchange as primary and only option to differ is not sufficient. A button needs the option with other characteristics (like the mousicon) to show a different state (in this case: disabled).

The Change would further enable PrimeNGs as a suitable framework for the public sector.

Environment

Windows 11

Reproducer

No response

Angular version

17.0.8

PrimeNG version

17.3.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.9.0

Browser(s)

Chrome 119.0.6045.200

Steps to reproduce the behavior

No response

Expected behavior

No response

@msg-ptavoul msg-ptavoul added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 10, 2024
@cetincakiroglu cetincakiroglu added Status: Discussion Issue or pull request needs to be discussed by Core Team and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jan 10, 2024
@mertsincan mertsincan removed the Status: Discussion Issue or pull request needs to be discussed by Core Team label Jan 16, 2024
@mertsincan
Copy link
Member

Hi,

We wrap .p-disabled class with @layer primeng to customize easily. Please try the following css;

.p-disabled, .p-disabled * {
    cursor: ...
    pointer-events: auto;
}

Best Regards,

@mervetagci
Copy link

mervetagci commented Jan 17, 2024

Merhabalar.
Verdiğiniz kodu kullanmak istediğim componentimin css dosyasında deniyorum ama cursor stilinde herhangi bir değişiklik olmadı. Bu normal mi?
kullandığım .css dosyası:
image
meta.dropdown içeriği:
image

@mervetagci
Copy link

Buradaki sorunumu (encapsulation: ViewEncapsulation.None,) ve class ekleyerek ile çözdüm. Class ve id lere bakarak css dosyasında kullanmak istediğim stilleri kullanabildim.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants