Skip to content

Revert "fix(material/slider): some screen readers announcing long dec… - #20849

Merged
jelbourn merged 1 commit into
angular:masterfrom
jelbourn:slider-valuetext
Oct 22, 2020
Merged

Revert "fix(material/slider): some screen readers announcing long dec…#20849
jelbourn merged 1 commit into
angular:masterfrom
jelbourn:slider-valuetext

Conversation

@jelbourn

Copy link
Copy Markdown
Contributor

…imal values (#20760)"

This reverts commit 19f5f5c.

Reverting this for two reasons:

  • the truthiness check is a bit too broad, preventing someone
    from setting the empty string or zero
  • I'd prefer to have the input named valuetext rather than aria-valuetext
    since it's potentially confusing without supporting the attr.
    (I know we do this elsewhere, but I'd like to avoid more use of
    this pattern)

cc @crisbeto

…imal values (angular#20760)"

This reverts commit 19f5f5c.

Reverting this for two reasons:
* the truthiness check is a bit too broad, preventing someone
  from setting the empty string or zero
* I'd prefer to have the input named `valuetext` rather than `aria-valuetext`
  since it's potentially confusing without supporting the `attr.`
  (I know we do this elsewhere, but I'd like to avoid more use of
  this pattern)
@jelbourn jelbourn added the target: patch This PR is targeted for the next patch release label Oct 22, 2020
@jelbourn
jelbourn requested a review from wagnermaciel October 22, 2020 00:00
@jelbourn
jelbourn requested a review from mmalerba as a code owner October 22, 2020 00:00
@google-cla google-cla Bot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Oct 22, 2020

@wagnermaciel wagnermaciel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, but something is failing in CI

@crisbeto crisbeto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but wouldn't the new input have to be called valueText rather than valuetext?

@jelbourn jelbourn added the action: merge The PR is ready for merge by the caretaker label Oct 22, 2020
@jelbourn

Copy link
Copy Markdown
Contributor Author

@crisbeto yeah, that also works

@jelbourn
jelbourn merged commit cc9758d into angular:master Oct 22, 2020
jelbourn added a commit that referenced this pull request Oct 22, 2020
…imal values (#20760)" (#20849)

This reverts commit 19f5f5c.

Reverting this for two reasons:
* the truthiness check is a bit too broad, preventing someone
  from setting the empty string or zero
* I'd prefer to have the input named `valuetext` rather than `aria-valuetext`
  since it's potentially confusing without supporting the `attr.`
  (I know we do this elsewhere, but I'd like to avoid more use of
  this pattern)

(cherry picked from commit cc9758d)
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Nov 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants