Remove "frameborder" attribute from iframe

Open Beginner friendly
#96 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
82/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Quiet
Tech stack
typescript
Domain
frontend

Research direction

Open src/sdk/create.ts and inspect line 83, where the iframe is created. Remove the obsolete frameborder attribute and verify that the SDK-generated iframe no longer includes it while retaining the intended border styling.

Written by the indexing model from the issue text.

Description

The frameborder attribute is obsolete in HTML5 and shouldn't be used in FriendlyCaptcha.

Using the obsolete frameborder attribute on an <iframe> is discouraged because it is no longer part of modern HTML standards and is ignored by many contemporary browsers. Instead of relying on outdated, browser‑specific behavior, developers should use CSS to control the visual presentation of iframes.

Todo:

This approach aligns with modern best practices and keeps your markup semantically correct, accessible, and easier to style consistently across your project.

Dominant language
TypeScript
Stars
34
Forks
15
Avg merge
1d 5h
Merged PRs (30d)
5

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FriendlyCaptcha/friendly-captcha-sdk

All issues in FriendlyCaptcha/friendly-captcha-sdk

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.