Skip to content

astro-check (warning): Remove deprecated frameborder from volunteer.astro #580

@lsr-explore

Description

@lsr-explore

Remove deprecated frameborder from volunteer.astro

Labels: cleanup, tech-debt, good-first-issue
Estimated PR size: 1 file

Note

Ticket description was generated using Claude Code. Review before starting on a fix.

Note

The following issue adds support for npm run astro:check

Summary

src/pages/volunteer.astro:136 sets frameborder="0" on an <iframe>. The frameborder attribute has been deprecated for years — modern HTML spec says use CSS border: 0 instead (which is the default for iframes anyway in modern browsers).

astro check warning

src/pages/volunteer.astro:136:9 - warning ts(6385): 'frameborder' is deprecated.

136         frameborder="0"
            ~~~~~~~~~~~

Suggested fix

Delete the frameborder="0" line. If the iframe shows a visible border in some browser, add style="border: 0" or a CSS class instead.

Acceptance criteria

  • Warning clears.
  • Volunteer page iframe still displays without a visible border in major browsers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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